mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-29 11:04:12 -05:00
🐛 dismiss update notification only after clicking close (#854)
Closes #764 Dismiss the update notification only after clicking "close" button
This commit is contained in:
committed by
GitHub
parent
e23f9d822b
commit
61f1802840
@@ -15,9 +15,6 @@ export default async function checkForUpdateNotification(
|
||||
return;
|
||||
}
|
||||
|
||||
await savePrefs({
|
||||
'flags.updateNotificationShownForVersion': latestVersion,
|
||||
});
|
||||
addNotification({
|
||||
type: 'message',
|
||||
title: 'A new version of Actual is available!',
|
||||
@@ -30,5 +27,10 @@ export default async function checkForUpdateNotification(
|
||||
window.open('https://actualbudget.github.io/docs/Release-Notes');
|
||||
},
|
||||
},
|
||||
onClose: async () => {
|
||||
await savePrefs({
|
||||
'flags.updateNotificationShownForVersion': latestVersion,
|
||||
});
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
6
upcoming-release-notes/854.md
Normal file
6
upcoming-release-notes/854.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfix
|
||||
authors: [MatissJanis]
|
||||
---
|
||||
|
||||
Dismiss the update notification only after clicking the close button
|
||||
Reference in New Issue
Block a user