From 44eb507a12bad028a4fa8a8bb0f6442a3e8dde91 Mon Sep 17 00:00:00 2001 From: Fabio Di Stasio Date: Tue, 9 Aug 2022 16:04:27 +0200 Subject: [PATCH] fix: unable to open settingbar context menu --- src/renderer/components/SettingBarContext.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/renderer/components/SettingBarContext.vue b/src/renderer/components/SettingBarContext.vue index 7be3dc55..19fe38ae 100644 --- a/src/renderer/components/SettingBarContext.vue +++ b/src/renderer/components/SettingBarContext.vue @@ -54,12 +54,15 @@ import { computed, Prop, ref } from 'vue'; import { storeToRefs } from 'pinia'; import { uidGen } from 'common/libs/uidGen'; +import { useI18n } from 'vue-i18n'; import { useConnectionsStore } from '@/stores/connections'; import { useWorkspacesStore } from '@/stores/workspaces'; import BaseContextMenu from '@/components/BaseContextMenu.vue'; import ConfirmModal from '@/components/BaseConfirmModal.vue'; import { ConnectionParams } from 'common/interfaces/antares'; +const { t } = useI18n(); + const connectionsStore = useConnectionsStore(); const {