diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index e450606f7..ef52bf8e1 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -2781,7 +2781,7 @@ define([ var i = 0; var types = AppConfig.availablePadTypes.filter(function (p) { if (p === 'drive') { return; } - if (p === 'team') { return; } + if (p === 'teams') { return; } if (p === 'contacts') { return; } if (p === 'todo') { return; } if (p === 'file') { return; } diff --git a/www/common/drive-ui.js b/www/common/drive-ui.js index 601c2a32d..d1b360bdf 100644 --- a/www/common/drive-ui.js +++ b/www/common/drive-ui.js @@ -2263,7 +2263,7 @@ define([ var arr = []; AppConfig.availablePadTypes.forEach(function (type) { if (type === 'drive') { return; } - if (type === 'team') { return; } + if (type === 'teams') { return; } if (type === 'contacts') { return; } if (type === 'todo') { return; } if (type === 'file') { return; } diff --git a/www/common/toolbar3.js b/www/common/toolbar3.js index 733d0b719..224f7eeb6 100644 --- a/www/common/toolbar3.js +++ b/www/common/toolbar3.js @@ -922,7 +922,6 @@ MessengerUI, Messages) { var pads_options = []; Config.availablePadTypes.forEach(function (p) { if (p === 'drive') { return; } - if (p === 'teams') { return; } if (!Common.isLoggedIn() && Config.registeredOnlyTypes && Config.registeredOnlyTypes.indexOf(p) !== -1) { return; } pads_options.push({