generated from Real-Dev-Squad/website-template
-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added sort by for groups by creation date and member groups. (#659)
* Added sort by creation date and members. * Reduced padding * Remove dead code * Made small modification * Changed the dropdown opening lines in test * Changed the variables name * Changed the variabled name * Changed variabled name * Changed variable names * Added sort by last used on --------- Co-authored-by: Shubham Sharma <[email protected]>
- Loading branch information
1 parent
f512d39
commit 549b07f
Showing
6 changed files
with
267 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,15 @@ | ||
const NO_SPACES_ALLOWED = 'Roles cannot have spaces'; | ||
const CANNOT_CONTAIN_GROUP = "Roles cannot contain 'group'."; | ||
const DEV_FEATURE_FLAG = 'dev'; | ||
const SortByFields = [ | ||
{ id: '1', fieldName: 'memberCount' }, | ||
{ id: '2', fieldName: 'date._seconds' }, | ||
{ id: '3', fieldName: 'lastUsedOn._seconds' }, | ||
]; | ||
|
||
export { NO_SPACES_ALLOWED, CANNOT_CONTAIN_GROUP, DEV_FEATURE_FLAG }; | ||
export { | ||
SortByFields, | ||
NO_SPACES_ALLOWED, | ||
CANNOT_CONTAIN_GROUP, | ||
DEV_FEATURE_FLAG, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.