mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix going to parent folder in directory browser
This commit is contained in:
parent
16b0711047
commit
e908157692
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ function refreshDirectoryBrowser(page, path, fileOptions, updatePathOnError) {
|
|||
Promise.all(promises).then(
|
||||
responses => {
|
||||
const folders = responses[0];
|
||||
const parentPath = responses[1] || '';
|
||||
const parentPath = responses[1] ? JSON.parse(responses[1]) || '' : '';
|
||||
let html = '';
|
||||
|
||||
page.querySelector('.results').scrollTop = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue