|
|
@ -151,7 +151,7 @@ Raymer * @version 1.0.0 */ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<GiftedDialog ref="customDialog" :show-projects="showProjectsDialog" /> |
|
|
|
<GiftedDialog ref="giftedDialog" :show-projects="showProjectsDialog" /> |
|
|
|
<GiftedPrompts ref="giftedPrompts" /> |
|
|
|
<FeedFilters ref="feedFilters" /> |
|
|
|
|
|
|
@ -1591,7 +1591,7 @@ export default class HomeView extends Vue { |
|
|
|
* openGiftedPrompts() -> openDialog() |
|
|
|
* |
|
|
|
* @requires |
|
|
|
* - this.$refs.customDialog |
|
|
|
* - this.$refs.giftedDialog |
|
|
|
* - this.activeDid |
|
|
|
* |
|
|
|
* @param giver Optional contact info for giver |
|
|
@ -1600,7 +1600,7 @@ export default class HomeView extends Vue { |
|
|
|
openDialog(giver?: GiverReceiverInputInfo | "Unnamed", description?: string) { |
|
|
|
if (giver === "Unnamed") { |
|
|
|
// Special case: Pass undefined to trigger Step 1, but with "Unnamed" pre-selected |
|
|
|
(this.$refs.customDialog as GiftedDialog).open( |
|
|
|
(this.$refs.giftedDialog as GiftedDialog).open( |
|
|
|
undefined, |
|
|
|
{ |
|
|
|
did: this.activeDid, |
|
|
@ -1611,9 +1611,9 @@ export default class HomeView extends Vue { |
|
|
|
description, |
|
|
|
); |
|
|
|
// Immediately select "Unnamed" and move to Step 2 |
|
|
|
(this.$refs.customDialog as GiftedDialog).selectGiver(); |
|
|
|
(this.$refs.giftedDialog as GiftedDialog).selectGiver(); |
|
|
|
} else { |
|
|
|
(this.$refs.customDialog as GiftedDialog).open( |
|
|
|
(this.$refs.giftedDialog as GiftedDialog).open( |
|
|
|
giver, |
|
|
|
{ |
|
|
|
did: this.activeDid, |
|
|
@ -1837,7 +1837,7 @@ export default class HomeView extends Vue { |
|
|
|
|
|
|
|
openProjectDialog() { |
|
|
|
this.showProjectsDialog = true; |
|
|
|
(this.$refs.customDialog as GiftedDialog).open(); |
|
|
|
(this.$refs.giftedDialog as GiftedDialog).open(); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|