Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: roll forward pr 5248 (#5252)

Liu Jib892d0e4f192
diff --git a/frontend/src/store/modules/subscription.ts b/frontend/src/store/modules/subscription.ts
index 5b71d59bdc..47d7234112 100644
--- a/frontend/src/store/modules/subscription.ts
+++ b/frontend/src/store/modules/subscription.ts
@@ -114,7 +114,7 @@ export const useSubscriptionStore = defineStore("subscription", {
return false;
}
- return !this.isExpired && matrix[this.currentPlan];
+ return !this.isExpired && matrix[this.currentPlan - 1];
},
getMinimumRequiredPlan(type: FeatureType): PlanType {
const matrix = this.featureMatrix.get(type);