[APPS-2108] Switch search date range to the material date adapter (#8973)

* cleanup and setup testing

* switch to material adapter instead of adf one
This commit is contained in:
Denys Vuika
2023-10-06 14:54:28 +01:00
committed by GitHub
parent 93f45062fe
commit e42e0869ba
3 changed files with 20 additions and 37 deletions

View File

@@ -83,7 +83,7 @@ export class UserPreferencesService {
* @param property The property to watch
* @returns Notification callback
*/
select(property: string): Observable<any> {
select<T = any>(property: string): Observable<T> {
return this.onChange
.pipe(
map((userPreferenceStatus) => userPreferenceStatus[property]),