mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 11:49:59 +00:00
chore(editor): Clean up warnings on the browser's console (#17307)
This commit is contained in:
@@ -12,7 +12,7 @@ import { useI18n } from '@n8n/i18n';
|
||||
import { nonExistingJsonPath, PiPWindowSymbol } from '@/constants';
|
||||
import { useClipboard } from '@/composables/useClipboard';
|
||||
import { usePinnedData } from '@/composables/usePinnedData';
|
||||
import { inject, computed } from 'vue';
|
||||
import { inject, computed, ref } from 'vue';
|
||||
import { useRoute } from 'vue-router';
|
||||
import { useTelemetry } from '@/composables/useTelemetry';
|
||||
import { N8nIconButton } from '@n8n/design-system';
|
||||
@@ -39,7 +39,7 @@ const props = withDefaults(
|
||||
},
|
||||
);
|
||||
|
||||
const pipWindow = inject(PiPWindowSymbol);
|
||||
const pipWindow = inject(PiPWindowSymbol, ref<Window | undefined>());
|
||||
const isInPiPWindow = computed(() => pipWindow?.value !== undefined);
|
||||
|
||||
const ndvStore = useNDVStore();
|
||||
|
||||
Reference in New Issue
Block a user