mirror of
https://github.com/open-webui/open-webui
synced 2024-12-02 00:55:15 +00:00
feat: see what's new button added to about
This commit is contained in:
parent
5076700b3f
commit
1875a03e85
@ -1,7 +1,7 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { getOllamaVersion } from '$lib/apis/ollama';
|
import { getOllamaVersion } from '$lib/apis/ollama';
|
||||||
import { WEBUI_NAME, WEB_UI_VERSION } from '$lib/constants';
|
import { WEBUI_NAME, WEB_UI_VERSION } from '$lib/constants';
|
||||||
import { config } from '$lib/stores';
|
import { config, showChangelog } from '$lib/stores';
|
||||||
import { onMount } from 'svelte';
|
import { onMount } from 'svelte';
|
||||||
|
|
||||||
let ollamaVersion = '';
|
let ollamaVersion = '';
|
||||||
@ -15,10 +15,23 @@
|
|||||||
<div class="flex flex-col h-full justify-between space-y-3 text-sm mb-6">
|
<div class="flex flex-col h-full justify-between space-y-3 text-sm mb-6">
|
||||||
<div class=" space-y-3">
|
<div class=" space-y-3">
|
||||||
<div>
|
<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 w-full">
|
||||||
<div class="flex-1 text-xs text-gray-700 dark:text-gray-200">
|
<div class="flex-1 text-xs text-gray-700 dark:text-gray-200">
|
||||||
{WEB_UI_VERSION}
|
{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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user