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:
parent
d838bb672d
commit
6093614bbb
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user