selectOriginalFilterContextDefinition
Home > @gooddata/sdk-ui-dashboard > selectOriginalFilterContextDefinition
selectOriginalFilterContextDefinition variable
This selector returns original (stored) dashboard's filter context definition.
Signature:
selectOriginalFilterContextDefinition: import("@reduxjs/toolkit").OutputSelector<DashboardState, import("@gooddata/sdk-model").IFilterContextDefinition | undefined, (res: import("./filterContextState").FilterContextState) => import("@gooddata/sdk-model").IFilterContextDefinition | 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.