1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-06-07 01:54:54 +02:00

fix changelog version saving bug

This commit is contained in:
Kushagra Gour 2024-04-29 15:03:29 +05:30
parent d838bb672d
commit 6093614bbb

View File

@ -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);