From f5c8d8566dfe47f9f89f1ed40d0960a02a94b3ea Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 16 Jul 2019 11:24:29 +0200 Subject: [PATCH] Fix pads and files not displayed in the drive when logging in --- www/drive/inner.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/drive/inner.js b/www/drive/inner.js index f393cac3f..f69c36060 100644 --- a/www/drive/inner.js +++ b/www/drive/inner.js @@ -512,13 +512,14 @@ define([ // Tags used: display Tags category 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) { $tree.hide(); if (APP.newSharedFolder) { // ANON_SHARED_FOLDER displayedCategories = [SHARED_FOLDER]; + virtualCategories.push(SHARED_FOLDER); currentPath = [SHARED_FOLDER, ROOT]; } else { displayedCategories = [FILES_DATA];