forked from jsnbuchanan/crowd-funder-for-time-pwa
consolidate the "gave" actions on a projecct
This commit is contained in:
@@ -65,17 +65,15 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
<button
|
<button
|
||||||
@click="openDialog({ name: 'you', did: activeDid })"
|
@click="openDialog({ name: 'you', did: activeDid })"
|
||||||
class="block text-center text-lg font-bold uppercase bg-blue-600 text-white px-2 py-3 rounded-md mb-8"
|
class="text-center text-lg font-bold uppercase bg-blue-600 text-white px-2 py-3 rounded-md"
|
||||||
>
|
>
|
||||||
I gave...
|
I gave...
|
||||||
</button>
|
</button>
|
||||||
|
... or choose a contact who gave:
|
||||||
<div>
|
|
||||||
<p>... or choose a contact who gave:</p>
|
|
||||||
<!-- similar contact selection code is in multiple places -->
|
<!-- similar contact selection code is in multiple places -->
|
||||||
<div class="px-4">
|
|
||||||
<button
|
<button
|
||||||
v-for="contact in allContacts"
|
v-for="contact in allContacts"
|
||||||
:key="contact.did"
|
:key="contact.did"
|
||||||
@@ -89,7 +87,6 @@
|
|||||||
someone not specified
|
someone not specified
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<GiftedDialog
|
<GiftedDialog
|
||||||
ref="customDialog"
|
ref="customDialog"
|
||||||
|
|||||||
Reference in New Issue
Block a user