Skip to content

Commit

Permalink
Merge pull request cyruzzo#2900 from Azmoria/Fix---Recover-scenes/fol…
Browse files Browse the repository at this point in the history
…ders-that-are-missing-parent-folders-by-adding-them-to-root-folders

Fix - recover scenes/folders that are missing parent folders by adding them to root folders
  • Loading branch information
Azmoria authored Feb 16, 2025
2 parents d7f4ca6 + 9ed6c6a commit b6f9115
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ScenesPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -2121,7 +2121,8 @@ async function redraw_scene_list(searchTerm) {
console.debug("appending folder item", item, folder);
folder.append(row);
} else {
console.warn("Could not find a folder to append folder item to", item);
$(`#scenesFolder`).append(row);
console.warn("Could not find a folder to append folder item to - appending to root folder", item);
}
resolve();
}))
Expand Down Expand Up @@ -2159,7 +2160,8 @@ async function redraw_scene_list(searchTerm) {
console.debug("appending scene item", item, folder);
folder.append(row);
} else {
console.warn("Could not find a folder to append scene item to", item);
$(`#scenesFolder`).append(row);
console.warn("Could not find a folder to append scene item to - appending to root folder", item);
}
resolve();
}))
Expand Down

0 comments on commit b6f9115

Please sign in to comment.