forked from open-webui/open-webui
feat: personalised greeting
This commit is contained in:
parent
0d9e38a0ce
commit
8dce6b4b49
1 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { WEBUI_BASE_URL } from '$lib/constants';
|
import { WEBUI_BASE_URL } from '$lib/constants';
|
||||||
|
import { user } from '$lib/stores';
|
||||||
import { onMount } from 'svelte';
|
import { onMount } from 'svelte';
|
||||||
|
|
||||||
export let models = [];
|
export let models = [];
|
||||||
|
@ -63,7 +64,9 @@
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
{:else}
|
{:else}
|
||||||
How can I help you today?
|
<div class=" line-clamp-1">Hello, {$user.name}</div>
|
||||||
|
|
||||||
|
<div>How can I help you today?</div>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue