mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-23 23:11:12 +02:00
fix changelog version saving bug
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user