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:
@@ -26,13 +26,11 @@
|
||||
>
|
||||
</div>
|
||||
|
||||
<div class=" flex-shrink-0 pl-2">
|
||||
<div class=" flex-shrink-0 pr-1">
|
||||
<button
|
||||
class=" hover:text-blue-900 dark:hover:text-blue-300 transition"
|
||||
on:click={() => {
|
||||
console.log('closeToast');
|
||||
localStorage.setItem('dismissedUpdateToast', Date.now().toString());
|
||||
dispatch('closeToast');
|
||||
dispatch('close');
|
||||
}}
|
||||
>
|
||||
<XMark />
|
||||
|
||||
Reference in New Issue
Block a user