mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-19 08:02:55 +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
@@ -47,6 +47,7 @@ describe('dashboard', async function () {
|
||||
}),
|
||||
);
|
||||
cy.wait('@search');
|
||||
cy.visit('/dashboard');
|
||||
cy.get('.schedule-item-button').should('contain', 'UNIcert (Test)');
|
||||
});
|
||||
});
|
||||
|
||||
@@ -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