Skip to content

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

fix: use the correct syntax to hide the subscription menu item (#444)

tianzhoub90b3860f2d1
diff --git a/frontend/src/views/SettingSidebar.vue b/frontend/src/views/SettingSidebar.vue
index 32b941ebe2..63cac2cc8f 100644
--- a/frontend/src/views/SettingSidebar.vue
+++ b/frontend/src/views/SettingSidebar.vue
@@ -64,7 +64,7 @@
class="outline-item group w-full flex items-center pl-11 pr-2 py-2"
>{{ $t("settings.sidebar.version-control") }}</router-link>
<router-link
- v-if="isDev"
+ v-if="isDev()"
to="/setting/subscription"
class="outline-item group w-full flex items-center pl-11 pr-2 py-2"
>{{ $t("settings.sidebar.subscription") }}</router-link>