Fix team editor

This commit is contained in:
yflory
2019-10-10 13:56:12 +02:00
parent d3b03f46ea
commit 13df7e8d38
5 changed files with 17 additions and 11 deletions

View File

@@ -550,9 +550,9 @@ define([
};
// Get the metadata for sframe-common-outer
Store.getMetadata = function (clientId, data, cb) {
Store.getMetadata = function (clientId, app, 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(app);
var metadata = {
// "user" is shared with everybody via the userlist
user: {