Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas ONeil <[email protected]>
  • Loading branch information
loneil committed Oct 17, 2023
1 parent f280580 commit 075fc77
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
title="Delete Connection"
icon="pi pi-trash"
class="p-button-rounded p-button-icon-only p-button-text"
:disabled="deleteDisabled(data.alias)"
@click="deleteConnection($event, data.connection_id)"
/>
<EditConnection :connection-id="data.connection_id" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@
title="Connect to endorser"
icon="pi pi-user-plus"
class="p-button-rounded p-button-icon-only p-button-text"
@click="connectToLedger(props.ledgerInfo.endorser_alias, props.ledgerInfo.ledger_id)"
@click="
connectToLedger(
props.ledgerInfo.endorser_alias,
props.ledgerInfo.ledger_id
)
"
/>
</div>

Expand Down Expand Up @@ -64,7 +69,8 @@ const connectToLedger = async (
// Track the current connected to ledger (or undefined if none)
const prevLedgerId = writeLedger?.value?.ledger_id;
try {
const quickConnect = config.value.frontend.quickConnectEndorserName === endorser_alias;
const quickConnect =
config.value.frontend.quickConnectEndorserName === endorser_alias;
await tenantStore.setWriteLedger(ledger_id);
await connectToEndorser(quickConnect);
if (quickConnect) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ import PublicDidRegister from './PublicDidRegister.vue';
// Stores
const tenantStore = useTenantStore();
const { publicDid, tenantConfig, loading } =
storeToRefs(tenantStore);
const { publicDid, tenantConfig, loading } = storeToRefs(tenantStore);
const canBecomeIssuer = computed(
() =>
Expand Down

0 comments on commit 075fc77

Please sign in to comment.