Browse Source

add better verbiage when an offer has both description and amount

master
Trent Larson 2 weeks ago
parent
commit
4874cf9675
  1. 3
      src/views/NewActivityView.vue

3
src/views/NewActivityView.vue

@ -35,7 +35,8 @@
didInfo(offer.offeredByDid, activeDid, allMyDids, allContacts) didInfo(offer.offeredByDid, activeDid, allMyDids, allContacts)
}}</span> }}</span>
offers 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">{{ <span v-if="offer.amount">{{
displayAmount(offer.unit, offer.amount) displayAmount(offer.unit, offer.amount)
}}</span> }}</span>

Loading…
Cancel
Save