mirror of
https://github.com/chinchang/web-maker.git
synced 2025-06-08 02:24:51 +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() {
|
notificationsBtnClickHandler() {
|
||||||
this.setState({ isNotificationsModalOpen: true });
|
this.setState({ isNotificationsModalOpen: true });
|
||||||
|
|
||||||
if (this.state.isNotificationsModalOpen && !this.hasSeenNotifications) {
|
if (!this.state.isNotificationsModalOpen && !this.hasSeenNotifications) {
|
||||||
this.hasSeenNotifications = true;
|
this.hasSeenNotifications = true;
|
||||||
this.setState({ hasUnseenChangelog: false });
|
this.setState({ hasUnseenChangelog: false });
|
||||||
window.db.setUserLastSeenVersion(version);
|
window.db.setUserLastSeenVersion(version);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user