selectOriginalFilterContextFilters
Home > @gooddata/sdk-ui-dashboard > selectOriginalFilterContextFilters
selectOriginalFilterContextFilters variable
This selector returns original (stored) dashboard's filters.
Signature:
selectOriginalFilterContextFilters: import("@reduxjs/toolkit").OutputSelector<DashboardState, FilterContextItem[], (res: import("@gooddata/sdk-model").IFilterContextDefinition | undefined) => FilterContextItem[]>
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.