mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
Fixex announcement web not close after acknowledgement
This commit is contained in:
@@ -7,10 +7,12 @@
|
||||
export let localVersion: string;
|
||||
export let remoteVersion: string;
|
||||
|
||||
const dispatch = createEventDispatcher();
|
||||
|
||||
const acknowledgeClickHandler = () => {
|
||||
localStorage.setItem('appVersion', remoteVersion);
|
||||
|
||||
goto($page.url.pathname);
|
||||
dispatch('close');
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user