refactor: Migrate Vue slots to the new syntax (#4603)

Co-authored-by: Alex Grozav <alex@grozav.com>
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2022-11-18 14:59:31 +01:00
committed by GitHub
parent 6757c9a2ea
commit 600b285a44
84 changed files with 455 additions and 376 deletions

View File

@@ -6,7 +6,7 @@
:name="WORKFLOW_SHARE_MODAL_KEY"
:center="true"
>
<template slot="content">
<template #content>
<div :class="$style.container">
<enterprise-edition :features="[EnterpriseEditionFeature.WorkflowSharing]">
<n8n-user-select
@@ -29,7 +29,7 @@
:readonly="!workflowPermissions.updateSharing"
@delete="onRemoveSharee"
>
<template v-slot:actions="{ user }">
<template #actions="{ user }">
<n8n-select
:class="$style.roleSelect"
value="editor"
@@ -57,7 +57,7 @@
</div>
</template>
<template slot="footer">
<template #footer>
<enterprise-edition :features="[EnterpriseEditionFeature.WorkflowSharing]" :class="$style.actionButtons">
<n8n-text
v-show="isDirty"