Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
fix: 422 when sorting by sender or recipient (#1723)
Browse files Browse the repository at this point in the history
  • Loading branch information
faustbrian authored Feb 27, 2020
1 parent be0da25 commit 96a7acb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
</div>

<div
v-else-if="data.column.field === 'sender'"
v-else-if="data.column.field === 'senderPublicKey'"
:class="[ isDashboard ? 'dashboard-address' : 'max-w-xxs' ]"
>
<WalletAddress
Expand All @@ -88,7 +88,7 @@
</div>

<div
v-else-if="data.column.field === 'recipient'"
v-else-if="data.column.field === 'recipientId'"
:class="[ isDashboard ? 'dashboard-address' : 'max-w-xxs' ]"
>
<WalletAddress
Expand Down Expand Up @@ -224,11 +224,11 @@ export default {
columns.push(...[
{
label: this.$t('TRANSACTION.SENDER'),
field: 'sender'
field: 'senderPublicKey'
},
{
label: this.$t('TRANSACTION.RECIPIENT'),
field: 'recipient'
field: 'recipientId'
},
{
label: this.$t('TRANSACTION.VENDOR_FIELD'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
</div>

<div
v-else-if="data.column.field === 'sender'"
v-else-if="data.column.field === 'senderPublicKey'"
class="max-w-xxs"
>
<WalletAddress
Expand All @@ -44,7 +44,7 @@
</div>

<div
v-else-if="data.column.field === 'recipient'"
v-else-if="data.column.field === 'recipientId'"
class="max-w-xxs"
>
<WalletAddress
Expand Down Expand Up @@ -153,11 +153,11 @@ export default {
},
{
label: this.$t('TRANSACTION.SENDER'),
field: 'sender'
field: 'senderPublicKey'
},
{
label: this.$t('TRANSACTION.RECIPIENT'),
field: 'recipient'
field: 'recipientId'
},
{
label: this.$t('TRANSACTION.STATUS'),
Expand Down

0 comments on commit 96a7acb

Please sign in to comment.