Skip to content

Commit

Permalink
Update Staking UI (hacky)
Browse files Browse the repository at this point in the history
Omitted proper request types and parsing.
  • Loading branch information
sisou committed Nov 23, 2024
1 parent c4db744 commit c35a8e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/RequestParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ export class RequestParser {
}

return {
...request, // Pass-through all other properties
kind: requestType,
appName: signStakingRequest.appName,
senderLabel: signStakingRequest.senderLabel,
Expand Down Expand Up @@ -771,6 +772,7 @@ export class RequestParser {
case RequestType.SIGN_STAKING:
const signStakingRequest = request as ParsedSignStakingRequest;
return {
...request, // Pass-through all other properties
appName: signStakingRequest.appName,
senderLabel: signStakingRequest.senderLabel,
recipientLabel: signStakingRequest.recipientLabel,
Expand Down
2 changes: 2 additions & 0 deletions src/views/SignStaking.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ export default class SignStaking extends Vue {
}
const request: KeyguardClient.SignStakingRequest = {
...this.request, // Pass-through all request parameters
appName: this.request.appName,
keyId,
Expand Down

0 comments on commit c35a8e4

Please sign in to comment.