Skip to content

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

fix: [intlify] Not found parent scope. use the global scope. (#17986)

p0nya61dfd531783
diff --git a/frontend/src/components/AuditLog/JSONStringView.vue b/frontend/src/components/AuditLog/JSONStringView.vue
index f8ea189d20..6e5854722f 100644
--- a/frontend/src/components/AuditLog/JSONStringView.vue
+++ b/frontend/src/components/AuditLog/JSONStringView.vue
@@ -16,7 +16,7 @@
<BBModal
:show="showModal"
- :title="$t('common.view-details')"
+ :title="t('common.view-details')"
@close="showModal = false"
>
<div style="width: calc(100vw - 12rem); height: calc(100vh - 12rem)">
@@ -34,9 +34,12 @@
import { Maximize2Icon } from "lucide-vue-next";
import { NButton } from "naive-ui";
import { computed, ref } from "vue";
+import { useI18n } from "vue-i18n";
import { BBModal } from "@/bbkit";
import { MonacoEditor } from "@/components/MonacoEditor";
+const { t } = useI18n();
+
const props = defineProps<{
jsonString: string;
}>();