selectFilterContextDateFilter
Home > @gooddata/sdk-ui-dashboard > selectFilterContextDateFilter
selectFilterContextDateFilter variable
This selector returns dashboard's filter context date filter.
Signature:
selectFilterContextDateFilter: import("@reduxjs/toolkit").OutputSelector<DashboardState, IDashboardDateFilter | undefined, (res: FilterContextItem[]) => IDashboardDateFilter | undefined>
Remarks
It is expected that the selector is called only after the filter context state is correctly initialized. Invocations before initialization lead to invariant errors.