Skip to content

Commit 0165222

Browse files
authored
Update filebrowser.js
1 parent 1e167c2 commit 0165222

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

filebrowser.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ async function renderSidebarHTML() {
323323

324324
}
325325

326-
if (resp.message == 'Bad credentials') {
326+
if (resp.message && resp.message == 'Bad credentials') {
327327

328328
// if failed to get items,
329329
// show login screen
@@ -338,8 +338,6 @@ async function renderSidebarHTML() {
338338
return;
339339

340340
}
341-
342-
if (resp.message) return;
343341

344342

345343
// render modified files

0 commit comments

Comments
 (0)