fix(nc-gui): missing oss sync changes

This commit is contained in:
Ramesh Mane
2025-04-15 12:12:41 +05:30
parent 0616644e5f
commit a8d4e53199

View File

@@ -63,7 +63,7 @@ const [useProvideExpandedFormStore, useExpandedFormStore] = useInjectionState((m
const { isUIAllowed } = useRoles()
const { handleUpgradePlan } = useEeConfig()
const { handleUpgradePlan, isPaymentEnabled } = useEeConfig()
// getters
const displayValue = computed(() => {
@@ -121,7 +121,7 @@ const [useProvideExpandedFormStore, useExpandedFormStore] = useInjectionState((m
} catch (e: any) {
const errorInfo = await extractSdkResponseErrorMsgv2(e)
if (errorInfo.error === NcErrorType.PLAN_LIMIT_EXCEEDED) {
if (isPaymentEnabled.value && errorInfo.error === NcErrorType.PLAN_LIMIT_EXCEEDED) {
const details = errorInfo.details as PlanLimitExceededDetailsType
handleUpgradePlan({