Hide loader
parent
8c963f2968
commit
7a590a259a
|
@ -18,6 +18,7 @@
|
||||||
overlay: 'border border-surface-200 dark:border-surface-700 bg-surface-0 dark:bg-surface-950 shadow-2 rounded-md',
|
overlay: 'border border-surface-200 dark:border-surface-700 bg-surface-0 dark:bg-surface-950 shadow-2 rounded-md',
|
||||||
listContainer: 'max-h-40 overflow-auto',
|
listContainer: 'max-h-40 overflow-auto',
|
||||||
list: 'm-0 py-2 px-2 list-none',
|
list: 'm-0 py-2 px-2 list-none',
|
||||||
|
loader: 'hidden',
|
||||||
option: 'cursor-pointer py-1 text-sm text-surface-700 dark:text-white/80 data-[p-focus=true]:bg-surface-100 data-[p-focus=true]:dark:bg-surface-800 rounded-md'
|
option: 'cursor-pointer py-1 text-sm text-surface-700 dark:text-white/80 data-[p-focus=true]:bg-surface-100 data-[p-focus=true]:dark:bg-surface-800 rounded-md'
|
||||||
}"
|
}"
|
||||||
@option-select="onOptionSelect"
|
@option-select="onOptionSelect"
|
||||||
|
@ -81,7 +82,7 @@ export default {
|
||||||
if (query.startsWith('{')) {
|
if (query.startsWith('{')) {
|
||||||
this.items = this.$acTokens.filter((t) => t.label.startsWith(query));
|
this.items = this.$acTokens.filter((t) => t.label.startsWith(query));
|
||||||
} else {
|
} else {
|
||||||
this.items = null;
|
this.items = [];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue