Fix share modal with unregistered users #457
This commit is contained in:
parent
c59d41d8f6
commit
ccf4553ed3
@ -553,7 +553,7 @@ define([
|
|||||||
// Get the metadata for sframe-common-outer
|
// Get the metadata for sframe-common-outer
|
||||||
Store.getMetadata = function (clientId, data, cb) {
|
Store.getMetadata = function (clientId, data, cb) {
|
||||||
var disableThumbnails = Util.find(store.proxy, ['settings', 'general', 'disableThumbnails']);
|
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 = {
|
var metadata = {
|
||||||
// "user" is shared with everybody via the userlist
|
// "user" is shared with everybody via the userlist
|
||||||
user: {
|
user: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user