From 11f5d834a0db40bc4d02c0f86059e460a258e0ab Mon Sep 17 00:00:00 2001 From: mikeplotean Date: Fri, 13 Oct 2023 15:16:19 +0300 Subject: [PATCH] fix: selected did on issuance page --- web/src/pages/exchange/issuance.vue | 115 ++++++++++------------------ 1 file changed, 41 insertions(+), 74 deletions(-) diff --git a/web/src/pages/exchange/issuance.vue b/web/src/pages/exchange/issuance.vue index c397d8b..421fecc 100644 --- a/web/src/pages/exchange/issuance.vue +++ b/web/src/pages/exchange/issuance.vue @@ -31,7 +31,7 @@ : 'bg-green-600 hover:scale-105 hover:animate-pulse hover:bg-green-700 focus:animate-none focus:outline-green-700', ]" :failed="failed" - :disabled = "!selected.startsWith('did')" + :disabled="selectedDid == null || selectedDid == undefined" class="inline-flex items-center rounded-md px-3 py-2 text-sm font-semibold text-white shadow-sm focus:outline focus:outline-offset-2" display-text="Accept" icon="heroicons:check" @@ -47,67 +47,40 @@ Receiving {{ credentialCount }} credential(s)... - - - -

Subject:

-
-
- - {{ selected }} - - - - - - - -
  • - {{ did }} - - - -
  • -
    -
    -
    +
    +
    + + Select Did +
    + + +

    {{ selectedDid.alias }}

    + {{ selectedDid.did }} +
    + + +
    + + + + +
  • +
    +

    {{ did.alias }}

    + {{ did.did }} +
    + + +
  • +
    +
    +
    +
    +
    - +

    The following credentials will be issued:

    @@ -151,7 +124,7 @@

    Subject: