Merge pull request #575 from dermotduffy/folder-anmes

Don't show camera names in the gallery if there's only 1 camera
This commit is contained in:
Dermot Duffy
2022-05-10 20:58:57 -07:00
committed by GitHub
+3 -1
View File
@@ -161,7 +161,9 @@ export class BrowseMediaUtil {
if (this.isTrueMedia(child)) {
children.push(child);
} else {
if (query.title) {
// If there are multiple inputs, separate the folder names with the
// query title (if available).
if (query.title && input.size > 1) {
children.push({ ...child, title: `[${query.title}] ${child.title}` });
} else {
children.push(child);