add note about confirming your own, plus other helpful verbiage, plus notify messages that don't linger

This commit is contained in:
2024-04-23 09:13:57 -06:00
parent 1df2d3ed05
commit d316f4924b
3 changed files with 18 additions and 6 deletions

View File

@@ -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;
});