Browse Source

fix: A 'back' from a DID view page goes back to the list (not to edit again)

get-get-hash
Trent Larson 1 week ago
parent
commit
938cf673fc
  1. 8
      src/views/DIDView.vue

8
src/views/DIDView.vue

@ -7,13 +7,13 @@
<!-- Breadcrumb --> <!-- Breadcrumb -->
<div id="ViewBreadcrumb" class="mb-8"> <div id="ViewBreadcrumb" class="mb-8">
<h1 id="ViewHeading" class="text-lg text-center font-light relative px-7"> <h1 id="ViewHeading" class="text-lg text-center font-light relative px-7">
<!-- Back --> <!-- Go to 'contacts' instead of just 'back' because they could get here from an edit page (and going back there is annoying). -->
<button <router-link
:to="{ name: 'contacts' }"
class="text-lg text-center px-2 py-1 absolute -left-2 -top-1" class="text-lg text-center px-2 py-1 absolute -left-2 -top-1"
@click="goBack"
> >
<font-awesome icon="chevron-left" class="fa-fw"></font-awesome> <font-awesome icon="chevron-left" class="fa-fw"></font-awesome>
</button> </router-link>
Identifier Details Identifier Details
</h1> </h1>
</div> </div>

Loading…
Cancel
Save