Fix pads and files not displayed in the drive when logging in
This commit is contained in:
parent
b1f0ca3664
commit
f5c8d8566d
@ -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];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user