Fix share modal with unregistered users #457

pull/1/head
yflory 5 years ago
parent c59d41d8f6
commit ccf4553ed3

@ -553,7 +553,7 @@ define([
// Get the metadata for sframe-common-outer
Store.getMetadata = function (clientId, data, cb) {
var disableThumbnails = Util.find(store.proxy, ['settings', 'general', 'disableThumbnails']);
var teams = store.modules['team'] && store.modules['team'].getTeamsData();
var teams = (store.modules['team'] && store.modules['team'].getTeamsData()) || {};
var metadata = {
// "user" is shared with everybody via the userlist
user: {

Loading…
Cancel
Save