Don't show query titles for a single camera.
This commit is contained in:
@@ -161,7 +161,9 @@ export class BrowseMediaUtil {
|
|||||||
if (this.isTrueMedia(child)) {
|
if (this.isTrueMedia(child)) {
|
||||||
children.push(child);
|
children.push(child);
|
||||||
} else {
|
} 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}` });
|
children.push({ ...child, title: `[${query.title}] ${child.title}` });
|
||||||
} else {
|
} else {
|
||||||
children.push(child);
|
children.push(child);
|
||||||
|
|||||||
Reference in New Issue
Block a user