mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 05:45:19 +00:00
upated like in PR discussed
This commit is contained in:
parent
abba7c128c
commit
c8210d4043
2 changed files with 2 additions and 6 deletions
|
|
@ -28,8 +28,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
$: models = modelIds.map((id) => $_models.find((m) => m.id === id));
|
$: models = modelIds.map((id) => $_models.find((m) => m.id === id));
|
||||||
|
|
||||||
const tempChatTooltipText = 'This chat won’t appear in history and your messages will not be saved.';
|
|
||||||
|
|
||||||
onMount(() => {
|
onMount(() => {
|
||||||
mounted = true;
|
mounted = true;
|
||||||
|
|
@ -70,7 +68,7 @@
|
||||||
|
|
||||||
{#if $temporaryChatEnabled}
|
{#if $temporaryChatEnabled}
|
||||||
<Tooltip
|
<Tooltip
|
||||||
content={$i18n.t(tempChatTooltipText)}
|
content={$i18n.t('This chat won’t appear in history and your messages will not be saved.')}
|
||||||
className="w-full flex justify-center mb-0.5"
|
className="w-full flex justify-center mb-0.5"
|
||||||
placement="top"
|
placement="top"
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -86,8 +86,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
$: models = selectedModels.map((id) => $_models.find((m) => m.id === id));
|
$: models = selectedModels.map((id) => $_models.find((m) => m.id === id));
|
||||||
|
|
||||||
const tempChatTooltipText = 'This chat won’t appear in history and your messages will not be saved.';
|
|
||||||
|
|
||||||
onMount(() => {});
|
onMount(() => {});
|
||||||
</script>
|
</script>
|
||||||
|
|
@ -95,7 +93,7 @@
|
||||||
<div class="m-auto w-full max-w-6xl px-2 @2xl:px-20 translate-y-6 py-24 text-center">
|
<div class="m-auto w-full max-w-6xl px-2 @2xl:px-20 translate-y-6 py-24 text-center">
|
||||||
{#if $temporaryChatEnabled}
|
{#if $temporaryChatEnabled}
|
||||||
<Tooltip
|
<Tooltip
|
||||||
content={$i18n.t(tempChatTooltipText)}
|
content={$i18n.t('This chat won’t appear in history and your messages will not be saved.')}
|
||||||
className="w-full flex justify-center mb-0.5"
|
className="w-full flex justify-center mb-0.5"
|
||||||
placement="top"
|
placement="top"
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue