- Fix: Update broke the ability to mute notifications;

- Automatically close the sidebar.

Thanks to Akuket !

Closes #1952
This commit is contained in:
Lauri Ojansivu 2018-10-16 13:52:45 +03:00
parent f5125b76bc
commit 849f15ceee
3 changed files with 8 additions and 14 deletions

View file

@ -16,8 +16,7 @@ BlazeComponent.extendComponent({
},
onCreated() {
const initOpen = Utils.isMiniScreen() ? false : (!Session.get('currentCard'));
this._isOpen = new ReactiveVar(initOpen);
this._isOpen = new ReactiveVar(false);
this._view = new ReactiveVar(defaultView);
Sidebar = this;
},