-
Notifications
You must be signed in to change notification settings - Fork 15
Feat/system admin #1108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/system admin #1108
Changes from 1 commit
228b71f
2d59f23
11232bd
774a8f5
580617f
af68445
88fe2bf
2be1b57
59d8bc6
9510de9
d558ca8
a9b4b2b
f3d3e67
366c806
21fad4a
07ac31d
b261088
9204d86
a82243b
6f686e3
5ddb252
538deb9
5fd7ac7
a8a6f0a
58b5490
c367efe
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,11 +58,12 @@ const ChallengeTitle: FC<{ | |
const ReviewSummaryList: FC<ReviewListProps> = props => { | ||
const columns = useMemo<TableColumn<ReviewSummary>[]>( | ||
() => [ | ||
{ | ||
label: 'Challenge type', | ||
propertyName: '', | ||
type: 'text', | ||
}, | ||
// Hide the columns temporary, we do not have these data now | ||
// { | ||
// label: 'Challenge type', | ||
// propertyName: '', | ||
// type: 'text', | ||
// }, | ||
{ | ||
label: 'Challenge Title', | ||
propertyName: 'challengeName', | ||
|
@@ -76,11 +77,11 @@ const ReviewSummaryList: FC<ReviewListProps> = props => { | |
propertyName: 'legacyChallengeId', | ||
type: 'text', | ||
}, | ||
{ | ||
label: 'Current phase', | ||
propertyName: '', | ||
type: 'text', | ||
}, | ||
// { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The commented-out code for 'Current phase' should either be removed if it's not needed or implemented if it is required. Leaving commented-out code can lead to confusion. |
||
// label: 'Current phase', | ||
// propertyName: '', | ||
// type: 'text', | ||
// }, | ||
{ label: 'Status', propertyName: 'challengeStatus', type: 'text' }, | ||
// I think this column is important, and it exits in `admin-app` | ||
// but resp does not have it, so I just comment it here | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,6 +62,7 @@ export function useTableFilterBackend<T>( | |
fetchDataRef.current.filterCriteria, | ||
() => { | ||
fetchDataRef.current.isLoading = false | ||
window.scrollTo({ left: 0, top: 200 }) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
}, | ||
() => { | ||
fetchDataRef.current.isLoading = false | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment
propertyElementLabels[5]
is now commented out. If this was intentional, ensure that it is not needed elsewhere. If it was an accidental comment, consider uncommenting it.