refac
This commit is contained in:
@@ -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;
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user