mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Set MDM enrollment card sort by status (#7286)
This commit is contained in:
parent
5ee763457f
commit
db6392f6df
1 changed files with 3 additions and 2 deletions
|
|
@ -29,7 +29,8 @@ interface IMDMCardProps {
|
|||
|
||||
const DEFAULT_SORT_DIRECTION = "desc";
|
||||
const SOLUTIONS_DEFAULT_SORT_HEADER = "hosts_count";
|
||||
const ENROLLMENT_DEFAULT_SORT_HEADER = "hosts";
|
||||
const ENROLLMENT_DEFAULT_SORT_DIRECTION = "asc";
|
||||
const ENROLLMENT_DEFAULT_SORT_HEADER = "status";
|
||||
const PAGE_SIZE = 8;
|
||||
const baseClass = "home-mdm";
|
||||
|
||||
|
|
@ -171,7 +172,7 @@ const MDM = ({
|
|||
data={formattedMDMData}
|
||||
isLoading={isMDMFetching}
|
||||
defaultSortHeader={ENROLLMENT_DEFAULT_SORT_HEADER}
|
||||
defaultSortDirection={DEFAULT_SORT_DIRECTION}
|
||||
defaultSortDirection={ENROLLMENT_DEFAULT_SORT_DIRECTION}
|
||||
hideActionButton
|
||||
resultsTitle={"MDM"}
|
||||
emptyComponent={EmptyMDMEnrollment}
|
||||
|
|
|
|||
Loading…
Reference in a new issue