Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Block Explorer UI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
Block Explorer UI
Commits
15f57142
Commit
15f57142
authored
1 month ago
by
Lukas
Browse files
Options
Downloads
Patches
Plain Diff
Fix build error
parent
d211e36e
No related branches found
No related tags found
1 merge request
!585
Lbudginas/#318 add hp incoming delegation account page
Pipeline
#117515
canceled
1 month ago
Stage: build
Stage: test
Stage: test-report-aggregate
Stage: cleanup
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
components/account/AccountVestingDelegationsCard.tsx
+1
-1
1 addition, 1 deletion
components/account/AccountVestingDelegationsCard.tsx
utils/DelegationsSort.tsx
+2
-2
2 additions, 2 deletions
utils/DelegationsSort.tsx
with
3 additions
and
3 deletions
components/account/AccountVestingDelegationsCard.tsx
+
1
−
1
View file @
15f57142
...
@@ -118,7 +118,7 @@ const AccountVestingDelegationsCard: React.FC<
...
@@ -118,7 +118,7 @@ const AccountVestingDelegationsCard: React.FC<
<
Table
>
<
Table
>
<
TableHeader
>
<
TableHeader
>
<
TableRow
>
<
TableRow
>
{
buildTableHead
(
direction
,
sortBy
,
key
,
isAscending
)
}
{
buildTableHead
(
sortBy
,
key
,
isAscending
,
direction
)
}
</
TableRow
>
</
TableRow
>
</
TableHeader
>
</
TableHeader
>
<
TableBody
>
{
buildTableBody
(
direction
,
sortedDelegations
)
}
</
TableBody
>
<
TableBody
>
{
buildTableBody
(
direction
,
sortedDelegations
)
}
</
TableBody
>
...
...
This diff is collapsed.
Click to expand it.
utils/DelegationsSort.tsx
+
2
−
2
View file @
15f57142
...
@@ -85,10 +85,10 @@ const renderChevron = (
...
@@ -85,10 +85,10 @@ const renderChevron = (
};
};
export
const
buildTableHead
=
(
export
const
buildTableHead
=
(
direction
:
"
incoming
"
|
"
outgoing
"
,
handleSort
:
(
key
:
string
)
=>
void
,
handleSort
:
(
key
:
string
)
=>
void
,
sortKey
:
string
,
sortKey
:
string
,
isOrderAscending
:
boolean
isOrderAscending
:
boolean
,
direction
?:
"
incoming
"
|
"
outgoing
"
)
=>
{
)
=>
{
const
tableHeaderCells
=
const
tableHeaderCells
=
direction
===
"
outgoing
"
direction
===
"
outgoing
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment