Skip to content

Commit

Permalink
Validated works should be displayed first (#2229)
Browse files Browse the repository at this point in the history
  • Loading branch information
amontenegro authored Apr 9, 2024
1 parent 6759233 commit 37bd1fd
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,16 +120,6 @@ export class TrustedSummaryComponent implements OnInit, OnDestroy {
}
}

if (this.trustedSummary.selfAssertedWorks) {
this.works.push({
verified: false,
countA: this.trustedSummary.selfAssertedWorks,
stringA:
this.trustedSummary.selfAssertedWorks > 1
? this.labelSelfAssertedWorks
: this.labelSelfAssertedWork,
})
}
if (this.trustedSummary.validatedWorks) {
this.works.push({
verified: true,
Expand All @@ -140,6 +130,16 @@ export class TrustedSummaryComponent implements OnInit, OnDestroy {
: this.labelValidatedWork,
})
}
if (this.trustedSummary.selfAssertedWorks) {
this.works.push({
verified: false,
countA: this.trustedSummary.selfAssertedWorks,
stringA:
this.trustedSummary.selfAssertedWorks > 1
? this.labelSelfAssertedWorks
: this.labelSelfAssertedWork,
})
}
if (this.trustedSummary.validatedFunds) {
this.funds.push({
verified: true,
Expand Down

0 comments on commit 37bd1fd

Please sign in to comment.