Add a share icon in the drive when displaying a shared folder

This commit is contained in:
yflory
2018-07-17 16:38:20 +02:00
parent 6143bceabb
commit 08005a709e
4 changed files with 56 additions and 1 deletions

View File

@@ -866,7 +866,7 @@ define([
var isInSharedFolder = function (Env, path) {
var resolved = _resolvePath(Env, path);
return typeof resolved.id === "number";
return typeof resolved.id === "number" ? resolved.id : false;
};
/* Generic: doesn't need access to a proxy */