fix(editor): Fix and enable copying to clipboard in PiP (#15632)

Co-authored-by: autologie <suguru@n8n.io>
This commit is contained in:
Alex Grozav
2025-06-17 10:24:48 +02:00
committed by GitHub
parent a953218b9d
commit f9f0fdf40d
7 changed files with 28 additions and 24 deletions

View File

@@ -36,6 +36,7 @@ const emit = defineEmits<{
}>();
const clipboard = useClipboard();
const locale = useI18n();
const toast = useToast();
@@ -149,7 +150,7 @@ async function copySessionId() {
@click="emit('clickHeader')"
>
<template #actions>
<N8nTooltip v-if="clipboard.isSupported.value && !isReadOnly">
<N8nTooltip v-if="clipboard.isSupported && !isReadOnly">
<template #content>
{{ sessionId }}
<br />