forked from open-webui/open-webui
		
	feat: see what's new button added to about
This commit is contained in:
		
							parent
							
								
									5076700b3f
								
							
						
					
					
						commit
						1875a03e85
					
				
					 1 changed files with 15 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
<script lang="ts">
 | 
			
		||||
	import { getOllamaVersion } from '$lib/apis/ollama';
 | 
			
		||||
	import { WEBUI_NAME, WEB_UI_VERSION } from '$lib/constants';
 | 
			
		||||
	import { config } from '$lib/stores';
 | 
			
		||||
	import { config, showChangelog } from '$lib/stores';
 | 
			
		||||
	import { onMount } from 'svelte';
 | 
			
		||||
 | 
			
		||||
	let ollamaVersion = '';
 | 
			
		||||
| 
						 | 
				
			
			@ -15,10 +15,23 @@
 | 
			
		|||
<div class="flex flex-col h-full justify-between space-y-3 text-sm mb-6">
 | 
			
		||||
	<div class=" space-y-3">
 | 
			
		||||
		<div>
 | 
			
		||||
			<div class=" mb-2.5 text-sm font-medium">{WEBUI_NAME} Version</div>
 | 
			
		||||
			<div class=" mb-2.5 text-sm font-medium flex space-x-2 items-center">
 | 
			
		||||
				<div>
 | 
			
		||||
					{WEBUI_NAME} Version
 | 
			
		||||
				</div>
 | 
			
		||||
			</div>
 | 
			
		||||
			<div class="flex w-full">
 | 
			
		||||
				<div class="flex-1 text-xs text-gray-700 dark:text-gray-200">
 | 
			
		||||
					{WEB_UI_VERSION}
 | 
			
		||||
 | 
			
		||||
					<button
 | 
			
		||||
						class="mt-1 underline flex items-center space-x-1 text-xs text-gray-600 dark:text-gray-400"
 | 
			
		||||
						on:click={() => {
 | 
			
		||||
							showChangelog.set(true);
 | 
			
		||||
						}}
 | 
			
		||||
					>
 | 
			
		||||
						<div>See what's new</div>
 | 
			
		||||
					</button>
 | 
			
		||||
				</div>
 | 
			
		||||
			</div>
 | 
			
		||||
		</div>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue