Components

Supervisor․TeamFiltersPanel

<Supervisor․TeamFiltersPanel {...TeamFiltersPanel.TeamFiltersPanelProps} />

SidePanel dedicated to filter WorkersDataTable in teams view

Methods

getSimplifiedFiltersMap(appliedFiltersFromState)

AppliedFilters on view state have a different and more complex structure than he ones required in FiltersList. This method convert its structure to a compatible one.
Parameters:
Name Type Description
appliedFiltersFromState

Type Definitions

Object

TeamFiltersPanelProps

Flex context interface
Properties:
Name Type Description
isHidden boolean defines whether the component should be displayed or not
handleCloseClick function callback triggered on SidePanel close button
handleApplyFilters function callback triggered when applyFilter gets triggered
handleResetFilters function callback triggered when reset Filter gets triggered
filters Object list of filter or filterFactories function
isLoadingWorkers boolean whether the workers are still being loaded