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

@@ -11,7 +11,7 @@
@click:add="addWorkflow"
@update:filters="filters = $event"
>
<template v-slot="{ data }">
<template #default="{ data }">
<workflow-card :data="data" @click:tag="onClickTag" />
</template>
<template #empty>
@@ -38,7 +38,7 @@
</n8n-card>
</div>
</template>
<template v-slot:filters="{ setKeyValue }">
<template #filters="{ setKeyValue }">
<div class="mb-s" v-if="settingsStore.areTagsEnabled">
<n8n-input-label
:label="$locale.baseText('workflows.filters.tags')"