1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00

Update README.md with latest version numbers

This commit is contained in:
sauls8t 2018-03-28 14:25:37 +01:00
parent ad4030bc17
commit 30315a36c7
7 changed files with 680 additions and 663 deletions

View file

@ -105,8 +105,11 @@ export default Component.extend(ModalMixin, {
onShowWhatsNewModal() {
this.modalOpen("#whats-new-modal", { "show": true });
this.get('session').seenNewVersion();
this.set('hasWhatsNew', false);
if (this.get('newsContent.length') > 0) {
this.get('session').seenNewVersion();
this.set('hasWhatsNew', false);
}
}
}
});