mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-11 20:05:19 +00:00
refac
This commit is contained in:
parent
6235243b62
commit
d5c3e9ea42
1 changed files with 3 additions and 5 deletions
|
|
@ -135,11 +135,6 @@
|
||||||
|
|
||||||
if (res) {
|
if (res) {
|
||||||
console.debug('embeddingModelUpdateHandler:', res);
|
console.debug('embeddingModelUpdateHandler:', res);
|
||||||
if (res.status === true) {
|
|
||||||
toast.success($i18n.t('Embedding model set to "{{embedding_model}}"', res), {
|
|
||||||
duration: 1000 * 10
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -1355,6 +1350,7 @@
|
||||||
<div class="flex items-center relative">
|
<div class="flex items-center relative">
|
||||||
<button
|
<button
|
||||||
class="text-xs"
|
class="text-xs"
|
||||||
|
type="button"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
showResetUploadDirConfirm = true;
|
showResetUploadDirConfirm = true;
|
||||||
}}
|
}}
|
||||||
|
|
@ -1371,6 +1367,7 @@
|
||||||
<div class="flex items-center relative">
|
<div class="flex items-center relative">
|
||||||
<button
|
<button
|
||||||
class="text-xs"
|
class="text-xs"
|
||||||
|
type="button"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
showResetConfirm = true;
|
showResetConfirm = true;
|
||||||
}}
|
}}
|
||||||
|
|
@ -1386,6 +1383,7 @@
|
||||||
<div class="flex items-center relative">
|
<div class="flex items-center relative">
|
||||||
<button
|
<button
|
||||||
class="text-xs"
|
class="text-xs"
|
||||||
|
type="button"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
showReindexConfirm = true;
|
showReindexConfirm = true;
|
||||||
}}
|
}}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue