mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
fix: update info toast dismiss issue
This commit is contained in:
@@ -229,7 +229,13 @@
|
||||
|
||||
{#if version && compareVersion(version.latest, version.current)}
|
||||
<div class=" absolute bottom-8 right-8 z-50" in:fade={{ duration: 100 }}>
|
||||
<UpdateInfoToast {version} />
|
||||
<UpdateInfoToast
|
||||
{version}
|
||||
on:close={() => {
|
||||
localStorage.setItem('dismissedUpdateToast', Date.now().toString());
|
||||
version = null;
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user