mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Update src/components/directorybrowser/directorybrowser.js
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
parent
e908157692
commit
474d2f9c2a
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] ? JSON.parse(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