fix: Highlight folder icon for correct folder / media (#2560)

- Closes: #2128 
 - Closes: #2129
This commit is contained in:
Dermot Duffy
2026-07-02 10:26:30 -07:00
committed by GitHub
parent 3bb5ccd14f
commit 6a6d65d5c5
4 changed files with 156 additions and 2 deletions
+4
View File
@@ -58,6 +58,10 @@ export class UnifiedQuery {
);
}
public hasFolderQueries(folderID?: string): boolean {
return this.getFolderQueries(folderID).length > 0;
}
public getNonMediaQueries(): QueryNode[] {
return this._nodes.filter((node) => !this._isMediaQuery(node));
}