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

@@ -55,7 +55,9 @@
ref="search"
data-test-id="resources-list-search"
>
<n8n-icon icon="search" slot="prefix"/>
<template #prefix>
<n8n-icon icon="search"/>
</template>
</n8n-input>
<div :class="$style['sort-and-filter']">
<n8n-select
@@ -75,7 +77,7 @@
@input="$emit('update:filters', $event)"
@update:filtersLength="onUpdateFiltersLength"
>
<template v-slot="resourceFiltersSlotProps">
<template #default="resourceFiltersSlotProps">
<slot name="filters" v-bind="resourceFiltersSlotProps" />
</template>
</resource-filters-dropdown>
@@ -407,4 +409,3 @@ export default mixins(
height: 69px;
}
</style>