mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor: Migrate Vue slots to the new syntax (#4603)
Co-authored-by: Alex Grozav <alex@grozav.com>
This commit is contained in:
committed by
GitHub
parent
6757c9a2ea
commit
600b285a44
@@ -14,11 +14,9 @@
|
||||
:class="{ [$style.alignRight]: option.align === 'right' }"
|
||||
>
|
||||
<n8n-tooltip :disabled="!option.tooltip" placement="bottom">
|
||||
<div
|
||||
slot="content"
|
||||
v-html="option.tooltip"
|
||||
@click="handleTooltipClick(option.value, $event)"
|
||||
></div>
|
||||
<template #content>
|
||||
<div v-html="option.tooltip" @click="handleTooltipClick(option.value, $event)" />
|
||||
</template>
|
||||
<a
|
||||
v-if="option.href"
|
||||
target="_blank"
|
||||
|
||||
Reference in New Issue
Block a user