mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
refac
This commit is contained in:
parent
5ad64c7998
commit
da8f7cff2f
@ -75,7 +75,6 @@
|
|||||||
await tick();
|
await tick();
|
||||||
};
|
};
|
||||||
|
|
||||||
let mounted = false;
|
|
||||||
let selectedModelIdx = 0;
|
let selectedModelIdx = 0;
|
||||||
|
|
||||||
$: if (selectedModels.length > 0) {
|
$: if (selectedModels.length > 0) {
|
||||||
@ -84,12 +83,9 @@
|
|||||||
|
|
||||||
$: models = selectedModels.map((id) => $_models.find((m) => m.id === id));
|
$: models = selectedModels.map((id) => $_models.find((m) => m.id === id));
|
||||||
|
|
||||||
onMount(() => {
|
onMount(() => {});
|
||||||
mounted = true;
|
|
||||||
});
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#if mounted}
|
|
||||||
<div class="m-auto w-full max-w-6xl px-2 xl:px-20 translate-y-6 py-24 text-center">
|
<div class="m-auto w-full max-w-6xl px-2 xl:px-20 translate-y-6 py-24 text-center">
|
||||||
{#if $temporaryChatEnabled}
|
{#if $temporaryChatEnabled}
|
||||||
<Tooltip
|
<Tooltip
|
||||||
@ -227,4 +223,3 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user