mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix(editor): Resolve vue 3 related console-warnings (#6779)
* fix(editor): Resolve vue 3 related console-warnings Signed-off-by: Oleg Ivaniv <me@olegivaniv.com> * Use span as component wrapper instead of div Signed-off-by: Oleg Ivaniv <me@olegivaniv.com> * Wrap popover component in span Signed-off-by: Oleg Ivaniv <me@olegivaniv.com> --------- Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
This commit is contained in:
parent
e824ab057d
commit
30484a0615
|
@ -14,10 +14,12 @@ export default defineComponent({
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<span>
|
||||
<el-popover v-bind="{ ...$props, ...$attrs }">
|
||||
<template #reference>
|
||||
<slot name="reference" />
|
||||
</template>
|
||||
<slot />
|
||||
</el-popover>
|
||||
</span>
|
||||
</template>
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<template>
|
||||
<span>
|
||||
<n8n-tooltip placement="bottom" :disabled="!disabledHint">
|
||||
<template #content>
|
||||
<div>{{ disabledHint }}</div>
|
||||
|
@ -16,6 +17,7 @@
|
|||
/>
|
||||
</div>
|
||||
</n8n-tooltip>
|
||||
</span>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
<template>
|
||||
<span>
|
||||
<n8n-tooltip content=" " placement="top">
|
||||
<template #content>
|
||||
<slot />
|
||||
</template>
|
||||
<font-awesome-icon :class="$style['icon']" icon="exclamation-triangle"></font-awesome-icon>
|
||||
</n8n-tooltip>
|
||||
</span>
|
||||
</template>
|
||||
|
||||
<style lang="scss" module>
|
||||
|
|
|
@ -731,7 +731,7 @@
|
|||
"node.waitingForYouToCreateAnEventIn": "Waiting for you to create an event in {nodeType}",
|
||||
"node.discovery.pinData.canvas": "You can pin this output instead of waiting for a test event. Open node to do so.",
|
||||
"node.discovery.pinData.ndv": "You can pin this output instead of waiting for a test event.",
|
||||
"nodeBase.clickToAddNodeOrDragToConnect": "Click to add node<br />or drag to connect",
|
||||
"nodeBase.clickToAddNodeOrDragToConnect": "Click to add node \n or drag to connect",
|
||||
"nodeCreator.actionsPlaceholderNode.scheduleTrigger": "On a Schedule",
|
||||
"nodeCreator.actionsPlaceholderNode.webhook": "On a Webhook call",
|
||||
"nodeCreator.actionsCategory.actions": "Actions",
|
||||
|
|
Loading…
Reference in a new issue