mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
fix: Use the updated slots syntax in ResourceLocator (no-changelog) (#4663)
Co-authored-by: Alex Grozav <alex@grozav.com>
This commit is contained in:
parent
5518bd95c7
commit
a9bdc0bbfe
|
@ -112,7 +112,7 @@
|
|||
[$style.isReverse]: showResourceDropdown,
|
||||
}"
|
||||
/>
|
||||
</template>
|
||||
</template>
|
||||
</n8n-input>
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
@ -11,8 +11,9 @@
|
|||
</div>
|
||||
<div :class="$style.searchInput" v-if="filterable && !errorView" @keydown="onKeyDown">
|
||||
<n8n-input size="medium" :value="filter" :clearable="true" @input="onFilterInput" @blur="onSearchBlur" ref="search" :placeholder="$locale.baseText('resourceLocator.search.placeholder')">
|
||||
<!-- eslint-disable-next-line vue/no-deprecated-slot-attribute -->
|
||||
<font-awesome-icon :class="$style.searchIcon" icon="search" slot="prefix" />
|
||||
<template #prefix>
|
||||
<font-awesome-icon :class="$style.searchIcon" icon="search" />
|
||||
</template>
|
||||
</n8n-input>
|
||||
</div>
|
||||
<div v-if="filterRequired && !filter && !errorView && !loading" :class="$style.searchRequired">
|
||||
|
@ -49,8 +50,9 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- eslint-disable-next-line vue/no-deprecated-slot-attribute -->
|
||||
<slot slot="reference" />
|
||||
<template #reference>
|
||||
<slot />
|
||||
</template>
|
||||
</n8n-popover>
|
||||
</template>
|
||||
|
||||
|
|
Loading…
Reference in a new issue