From 6093614bbb18ffc1a84fcdd216fe86d85053d004 Mon Sep 17 00:00:00 2001 From: Kushagra Gour Date: Mon, 29 Apr 2024 15:03:29 +0530 Subject: [PATCH] fix changelog version saving bug --- src/components/app.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/app.jsx b/src/components/app.jsx index 37f81db..9f6bb63 100644 --- a/src/components/app.jsx +++ b/src/components/app.jsx @@ -1181,7 +1181,7 @@ export default class App extends Component { notificationsBtnClickHandler() { this.setState({ isNotificationsModalOpen: true }); - if (this.state.isNotificationsModalOpen && !this.hasSeenNotifications) { + if (!this.state.isNotificationsModalOpen && !this.hasSeenNotifications) { this.hasSeenNotifications = true; this.setState({ hasUnseenChangelog: false }); window.db.setUserLastSeenVersion(version);