fix: Expose gallery and media views as media type agnostic (#2335)

This commit is contained in:
Dermot Duffy
2026-02-08 08:04:11 -08:00
committed by GitHub
parent 0a099b95f7
commit 21f9469784
22 changed files with 363 additions and 238 deletions
+8 -3
View File
@@ -127,9 +127,14 @@ export class View {
* Determine if a view is a gallery.
*/
public isGalleryView(): boolean {
return ['clips', 'folders', 'snapshots', 'recordings', 'reviews'].includes(
this.view,
);
return [
'clips',
'folders',
'gallery',
'snapshots',
'recordings',
'reviews',
].includes(this.view);
}
/**