Skip to content

Commit

Permalink
HydraDX Claims upgrade (#4781)
Browse files Browse the repository at this point in the history
* no lsd

* vec -> ordered set

* changed display condition for claims page to be more specific

original filter collided with unrelated api of HydraDX
  • Loading branch information
mrq1911 committed Mar 8, 2021
1 parent 196911c commit a1038a4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/apps-config/src/api/spec/hydrate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const definitions: OverrideBundleDefinition = {
]
},
LookupSource: 'AccountId',
OrderedSet: 'Vec<AssetId>',
Price: 'Balance'
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/apps-config/src/ui/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const chainRoccoTick = '#22bb22';
const chainRoccoTrack = '#bb2222';
const chainRoccoTrick = '#2222bb';
const chainSgc = 'linear-gradient(45deg, #0099F7 0%, #F11712 100%)';
const chainSnakenet = 'radial-gradient(circle, rgba(13,16,110,1) 0%, rgba(246,83,162,1) 100%)';
const chainSnakenet = '#f653a2';
const chainWestend = '#da68a7';
const chainGalois = '#000000';
const chainZero = '#000000';
Expand Down
2 changes: 1 addition & 1 deletion packages/apps-routing/src/claims.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function create (t: TFunction): Route {
display: {
needsAccounts: true,
needsApi: [
'query.claims.claims'
'tx.claims.mintClaim'
]
},
group: 'accounts',
Expand Down

0 comments on commit a1038a4

Please sign in to comment.