add better verbiage when an offer has both description and amount

This commit is contained in:
2024-11-03 17:30:40 -07:00
parent dbf010c1fe
commit fcec9e53f5

View File

@@ -35,7 +35,8 @@
didInfo(offer.offeredByDid, activeDid, allMyDids, allContacts)
}}</span>
offers
<span v-if="offer.objectDescription">{{ offer.objectDescription }}</span>
<span v-if="offer.objectDescription">{{ offer.objectDescription }}
</span>{{ offer.objectDescription && offer.amount ? ", and " : "" }}
<span v-if="offer.amount">{{
displayAmount(offer.unit, offer.amount)
}}</span>