mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 00:23:03 +00:00
fix: download events should respect selection
fix: show indeterminate state for tree node when child is indeterminate
This commit is contained in:
committed by
Rainer Killinger
parent
ec511fb8f4
commit
28fbfef18c
@@ -122,7 +122,10 @@ export class AddEventActionChipComponent implements OnDestroy {
|
||||
dismissAction: () => {
|
||||
modal.dismiss();
|
||||
},
|
||||
dateSeries: this.selection.items,
|
||||
dateSeries: this.selection.selection.children
|
||||
.flatMap(it => it.children)
|
||||
.filter(it => it.selected)
|
||||
.map(it => it.item),
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ import {SCDateSeries} from '@openstapps/core';
|
||||
export enum Selection {
|
||||
ON = 2,
|
||||
PARTIAL = 1,
|
||||
OFF = 1,
|
||||
OFF = 0,
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user