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">
 | 
			
		||||
	import { WEBUI_BASE_URL } from '$lib/constants';
 | 
			
		||||
	import { user } from '$lib/stores';
 | 
			
		||||
	import { onMount } from 'svelte';
 | 
			
		||||
 | 
			
		||||
	export let models = [];
 | 
			
		||||
| 
						 | 
				
			
			@ -63,7 +64,9 @@
 | 
			
		|||
					</div>
 | 
			
		||||
				{/if}
 | 
			
		||||
			{: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}
 | 
			
		||||
		</div>
 | 
			
		||||
	</div>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue