feat: switched to secretapproval check for license

This commit is contained in:
=
2024-05-31 00:03:27 +05:30
parent a13d4a4970
commit 41914e0027
5 changed files with 3 additions and 6 deletions

View File

@@ -24,7 +24,6 @@ export type SubscriptionPlan = {
scim: boolean;
ldap: boolean;
groups: boolean;
secretReplication: boolean;
status:
| "incomplete"
| "incomplete_expired"

View File

@@ -69,7 +69,7 @@ export const CreateSecretImportForm = ({
isReplication
}: TFormSchema) => {
try {
if (isReplication && !subscription?.secretReplication) {
if (isReplication && !subscription?.secretApproval) {
onUpgradePlan();
return;
}