mirror of
https://github.com/zen-browser/desktop.git
synced 2026-04-19 14:00:55 +00:00
fix: Correctly identify child active groups for collapsible pins, b=closes https://github.com/zen-browser/desktop/issues/11799, p=#11809, c=folders
* fix: Correctly identify child active groups for `zen-workspace-collapsible-pins` (#11799) * fix: Formatting
This commit is contained in:
@@ -118,6 +118,9 @@ export class nsZenFolder extends MozTabbrowserTabGroup {
|
||||
}
|
||||
|
||||
get childActiveGroups() {
|
||||
if (this.tagName === 'zen-workspace-collapsible-pins') {
|
||||
return Array.from(this.parentElement.querySelectorAll('zen-folder[has-active]'));
|
||||
}
|
||||
return Array.from(this.querySelectorAll('zen-folder[has-active]'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user