mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 05:45:19 +00:00
refac
This commit is contained in:
parent
2b0c5f322f
commit
266899acc0
1 changed files with 2 additions and 2 deletions
|
|
@ -53,10 +53,10 @@
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
onMount(() => {
|
$: if (suggestionPrompts) {
|
||||||
sortedPrompts = [...(suggestionPrompts ?? [])].sort(() => Math.random() - 0.5);
|
sortedPrompts = [...(suggestionPrompts ?? [])].sort(() => Math.random() - 0.5);
|
||||||
getFilteredPrompts(inputValue);
|
getFilteredPrompts(inputValue);
|
||||||
});
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="mb-1 flex gap-1 text-xs font-medium items-center text-gray-400 dark:text-gray-600">
|
<div class="mb-1 flex gap-1 text-xs font-medium items-center text-gray-400 dark:text-gray-600">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue