summaryrefslogtreecommitdiffstats
path: root/client/components
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-10-16 13:52:45 +0300
committerLauri Ojansivu <x@xet7.org>2018-10-16 13:52:45 +0300
commit849f15ceee8f40514fe75cbc0b8492394989b2b6 (patch)
treeef6d33a31ddab2dd5b12f477b4e739391a39c7c6 /client/components
parentf5125b76bcdaa7afda065035786c6bd9b1c04026 (diff)
downloadwekan-849f15ceee8f40514fe75cbc0b8492394989b2b6.tar.gz
wekan-849f15ceee8f40514fe75cbc0b8492394989b2b6.tar.bz2
wekan-849f15ceee8f40514fe75cbc0b8492394989b2b6.zip
- Fix: Update broke the ability to mute notifications;
- Automatically close the sidebar. Thanks to Akuket ! Closes #1952
Diffstat (limited to 'client/components')
-rw-r--r--client/components/sidebar/sidebar.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/components/sidebar/sidebar.js b/client/components/sidebar/sidebar.js
index 5d34c4a8..83b12666 100644
--- a/client/components/sidebar/sidebar.js
+++ b/client/components/sidebar/sidebar.js
@@ -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;
},