mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
Fixex announcement web not close after acknowledgement
This commit is contained in:
parent
53cd9fd8bf
commit
587b77e70b
2 changed files with 5 additions and 2 deletions
|
|
@ -7,6 +7,7 @@
|
|||
if (browser) {
|
||||
const { shouldShowAnnouncement, localVersion, remoteVersion } = await checkAppVersion();
|
||||
|
||||
console.log('Recheck');
|
||||
return { props: { url, shouldShowAnnouncement, localVersion, remoteVersion } };
|
||||
} else {
|
||||
return {
|
||||
|
|
@ -38,7 +39,7 @@
|
|||
<DownloadPanel />
|
||||
|
||||
{#if shouldShowAnnouncement}
|
||||
<AnnouncementBox {localVersion} {remoteVersion} />
|
||||
<AnnouncementBox {localVersion} {remoteVersion} on:close={() => (shouldShowAnnouncement = false)} />
|
||||
{/if}
|
||||
</div>
|
||||
{/key}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue