mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +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
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user