diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index d097994ca..d3369eab5 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -430,6 +430,7 @@ define([ } else { Object.keys(priv.teams || {}).some(function (id) { var team = priv.teams[id] || {}; + if (team.viewer) { return; } if (data.owners.indexOf(team.edPublic) === -1) { return; } owned = id; return true; diff --git a/www/common/drive-ui.js b/www/common/drive-ui.js index 2e43ec5e7..a421ab38d 100644 --- a/www/common/drive-ui.js +++ b/www/common/drive-ui.js @@ -2819,7 +2819,7 @@ define([ return $container; }; var createGhostIcon = function ($list) { - if (APP.$content.data('readOnlyFolder')) { return; } + if (APP.$content.data('readOnlyFolder') || !APP.editable) { return; } var isInRoot = currentPath[0] === ROOT; var $element = $('