fix: gate features

This commit is contained in:
mertmit
2026-03-01 05:34:58 +00:00
parent 446af34b3d
commit f5759869f9
2 changed files with 2 additions and 2 deletions

View File

@@ -250,12 +250,13 @@ onBeforeUnmount(() => {
</a-tab-pane>
</template>
<template v-if="isEeUI && !props.workspaceId && isWsAuditEnabled && isUIAllowed('workspaceAuditList')">
<template v-if="isEeUI && !props.workspaceId && isUIAllowed('workspaceAuditList')">
<a-tab-pane key="audits" class="w-full">
<template #tab>
<div class="tab-title" data-testid="nc-workspace-settings-tab-audits">
<GeneralIcon icon="audit" class="h-4 w-4" />
{{ $t('title.audits') }}
<LazyPaymentUpgradeBadge :feature-enabled-callback="() => isWsAuditEnabled" remove-click />
</div>
</template>
<WorkspaceAudits v-if="isWsAuditEnabled" />