summaryrefslogtreecommitdiffstats
path: root/client/components/sidebar
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-05-25 21:49:06 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-05-26 00:18:45 +0200
commit1b4fcc67f4ec94ed53a2f86ad6889e551f00815e (patch)
tree134083028cb512e67f864566130c30b44c1626ba /client/components/sidebar
parentfc2435b042babd8a9b0f946a9cc5696b98cc837c (diff)
downloadwekan-1b4fcc67f4ec94ed53a2f86ad6889e551f00815e.tar.gz
wekan-1b4fcc67f4ec94ed53a2f86ad6889e551f00815e.tar.bz2
wekan-1b4fcc67f4ec94ed53a2f86ad6889e551f00815e.zip
Upgrade sandstorm integration
Both sandstorm and LibreBoard have significantly evolved since the last release of LibreBoard on sandstorm. This commit: * adds some more attributes on the sandstorm manifest * introduces support with the sandstorm sharing box * uses a server redirection to point to the board document * hides the top shortcut bar on sandstorm Fixes #163.
Diffstat (limited to 'client/components/sidebar')
-rw-r--r--client/components/sidebar/sidebar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/components/sidebar/sidebar.js b/client/components/sidebar/sidebar.js
index 764f16eb..6e45b5cf 100644
--- a/client/components/sidebar/sidebar.js
+++ b/client/components/sidebar/sidebar.js
@@ -48,7 +48,7 @@ BlazeComponent.extendComponent({
onRendered: function() {
var self = this;
- if (! Meteor.user().isBoardMember())
+ if (! Meteor.userId() || ! Meteor.user().isBoardMember())
return;
$(document).on('mouseover', function() {