mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 18:41:14 +00:00
fix(editor): Fix xss issues in toast usages (#10733)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<script lang="ts" setup>
|
||||
import { useI18n } from '@/composables/useI18n';
|
||||
const i18n = useI18n();
|
||||
|
||||
defineProps<{
|
||||
nodeName: string;
|
||||
errorMessage?: string;
|
||||
}>();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
{{ errorMessage }}<br />
|
||||
<a data-action="openNodeDetail" :data-action-parameter-node="nodeName">{{
|
||||
i18n.baseText('node.executionError.openNode')
|
||||
}}</a>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user