forked from thewca/worldcubeassociation.org
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Psych sheet current user highlight/info/scroll (thewca#10625)
* Provide userInfo to RegistrationList * Add user message & scroll to * I18n * Add Bootstrap CSS override for 'active' tr in SemUI * Use Table.Row active prop * Remove incorrect setter call * Formatting * Reorder message & simplify text * lint errors * lint warnings * More lint * Null safety for registration user id * Switch prop to userId * Only serialize id * Directly pass user id to react --------- Co-authored-by: Gregor Billing <[email protected]>
- Loading branch information
1 parent
92de2b5
commit d0c2d93
Showing
6 changed files
with
141 additions
and
69 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<% provide(:title, I18n.t('registrations.list.title', comp: @competition.name)) %> | ||
|
||
<%= render layout: "nav" do %> | ||
<%= react_component('RegistrationsV2/Registrations', { competitionInfo: @competition.to_competition_info }) %> | ||
<%= react_component('RegistrationsV2/Registrations', { competitionInfo: @competition.to_competition_info, userId: @current_user&.id }) %> | ||
<% end %> |
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
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