fix(editor): Fix missing resource locator component (#4649)

🐛 Fix missing RLC
This commit is contained in:
Iván Ovejero 2022-11-18 17:08:22 +01:00 committed by GitHub
parent 0d9eeea024
commit 44182f23a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 8 deletions

View file

@ -69,7 +69,7 @@
:stickyOffset="4"
@drop="onDrop"
>
<template #default="{ droppable, activeDrop }">
<template v-slot="{ droppable, activeDrop }">
<div
:class="{
[$style.listModeInputContainer]: isListMode,
@ -103,8 +103,10 @@
@focus="onInputFocus"
@blur="onInputBlur"
>
<template #suffix>
<div v-if="isListMode">
<div
v-if="isListMode"
slot="suffix"
>
<i
:class="{
['el-input__icon']: true,
@ -114,7 +116,6 @@
}"
></i>
</div>
</template>
</n8n-input>
</div>
</template>

View file

@ -11,9 +11,7 @@
</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')">
<template #prefix>
<font-awesome-icon :class="$style.searchIcon" icon="search" />
</template>
<font-awesome-icon :class="$style.searchIcon" icon="search" slot="prefix" />
</n8n-input>
</div>
<div v-if="filterRequired && !filter && !errorView && !loading" :class="$style.searchRequired">
@ -50,7 +48,7 @@
</div>
</div>
</div>
<slot name="reference" />
<slot slot="reference" />
</n8n-popover>
</template>