|
@ -174,6 +174,9 @@ |
|
|
<fa icon="user" class="fa-fw text-slate-400"></fa> |
|
|
<fa icon="user" class="fa-fw text-slate-400"></fa> |
|
|
{{ didInfo(offer.agentDid, activeDid, allMyDids, allContacts) }} |
|
|
{{ didInfo(offer.agentDid, activeDid, allMyDids, allContacts) }} |
|
|
</span> |
|
|
</span> |
|
|
|
|
|
<a @click="onClickLoadClaim(offer.jwtId)"> |
|
|
|
|
|
<fa icon="circle-info" class="pl-2 pt-1 text-slate-500"></fa> |
|
|
|
|
|
</a> |
|
|
<span v-if="offer.amount"> |
|
|
<span v-if="offer.amount"> |
|
|
<fa |
|
|
<fa |
|
|
:icon="iconForUnitCode(offer.unit)" |
|
|
:icon="iconForUnitCode(offer.unit)" |
|
@ -205,6 +208,9 @@ |
|
|
><fa icon="user" class="fa-fw text-slate-400"></fa> |
|
|
><fa icon="user" class="fa-fw text-slate-400"></fa> |
|
|
{{ didInfo(give.agentDid, activeDid, allMyDids, allContacts) }} |
|
|
{{ didInfo(give.agentDid, activeDid, allMyDids, allContacts) }} |
|
|
</span> |
|
|
</span> |
|
|
|
|
|
<a @click="onClickLoadClaim(give.jwtId)"> |
|
|
|
|
|
<fa icon="circle-info" class="pl-2 pt-1 text-slate-500"></fa> |
|
|
|
|
|
</a> |
|
|
<span v-if="give.amount"> |
|
|
<span v-if="give.amount"> |
|
|
<fa |
|
|
<fa |
|
|
:icon="iconForUnitCode(give.unit)" |
|
|
:icon="iconForUnitCode(give.unit)" |
|
@ -642,6 +648,13 @@ export default class ProjectViewView extends Vue { |
|
|
(this.$refs.customOfferDialog as OfferDialog).open(); |
|
|
(this.$refs.customOfferDialog as OfferDialog).open(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
onClickLoadClaim(jwtId: string) { |
|
|
|
|
|
const route = { |
|
|
|
|
|
path: "/claim/" + encodeURIComponent(jwtId), |
|
|
|
|
|
}; |
|
|
|
|
|
this.$router.push(route); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
UNIT_CODES: Record<string, Record<string, string>> = { |
|
|
UNIT_CODES: Record<string, Record<string, string>> = { |
|
|
BTC: { |
|
|
BTC: { |
|
|
name: "Bitcoin", |
|
|
name: "Bitcoin", |
|
|