1
0
Fork 0
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:
Niels van Velzen 2022-11-14 19:18:08 +01:00
parent 16b0711047
commit e908157692

View file

@ -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;