|
|
@ -82,6 +82,16 @@ |
|
|
|
page. |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
<div v-if="claimCountByUser > 0" class="border-b border-slate-300 pb-2"> |
|
|
|
<span> |
|
|
|
{{ |
|
|
|
claimCountByUser === 1 |
|
|
|
? "There is 1 other claim by you" |
|
|
|
: `There are ${claimCountByUser} other claims by you` |
|
|
|
}} |
|
|
|
which you don't need to confirm. |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div> |
|
|
|
<h2 class="text-2xl m-2">Anything else?</h2> |
|
|
@ -165,6 +175,7 @@ export default class QuickActionBvcBeginView extends Vue { |
|
|
|
allContacts: Array<Contact> = []; |
|
|
|
allMyDids: Array<string> = []; |
|
|
|
apiServer = ""; |
|
|
|
claimCountByUser = 0; |
|
|
|
claimCountWithHidden = 0; |
|
|
|
claimsToConfirm: GenericCredWrapper[] = []; |
|
|
|
claimsToConfirmSelected: string[] = []; |
|
|
@ -236,6 +247,7 @@ export default class QuickActionBvcBeginView extends Vue { |
|
|
|
dataByOthers, |
|
|
|
); |
|
|
|
this.claimsToConfirm = dataByOthersWithoutHidden; |
|
|
|
this.claimCountByUser = data.length - dataByOthers.length; |
|
|
|
this.claimCountWithHidden = |
|
|
|
dataByOthers.length - dataByOthersWithoutHidden.length; |
|
|
|
}); |
|
|
|