|
|
@ -512,13 +512,14 @@ define([
|
|
|
|
// Tags used: display Tags category
|
|
|
|
// Tags used: display Tags category
|
|
|
|
if (Object.keys(manager.getTagsList()).length) { displayedCategories.push(TAGS); }
|
|
|
|
if (Object.keys(manager.getTagsList()).length) { displayedCategories.push(TAGS); }
|
|
|
|
|
|
|
|
|
|
|
|
var virtualCategories = [SEARCH, RECENT, OWNED, TAGS, SHARED_FOLDER];
|
|
|
|
var virtualCategories = [SEARCH, RECENT, OWNED, TAGS];
|
|
|
|
|
|
|
|
|
|
|
|
if (!APP.loggedIn) {
|
|
|
|
if (!APP.loggedIn) {
|
|
|
|
$tree.hide();
|
|
|
|
$tree.hide();
|
|
|
|
if (APP.newSharedFolder) {
|
|
|
|
if (APP.newSharedFolder) {
|
|
|
|
// ANON_SHARED_FOLDER
|
|
|
|
// ANON_SHARED_FOLDER
|
|
|
|
displayedCategories = [SHARED_FOLDER];
|
|
|
|
displayedCategories = [SHARED_FOLDER];
|
|
|
|
|
|
|
|
virtualCategories.push(SHARED_FOLDER);
|
|
|
|
currentPath = [SHARED_FOLDER, ROOT];
|
|
|
|
currentPath = [SHARED_FOLDER, ROOT];
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
displayedCategories = [FILES_DATA];
|
|
|
|
displayedCategories = [FILES_DATA];
|
|
|
|