Skip to content

Commit

Permalink
nickname from metrics dump
Browse files Browse the repository at this point in the history
  • Loading branch information
SuchJitter committed Aug 25, 2024
1 parent 0a4735e commit d67cca9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/DataTableMyRelays/DataTableMyRelays.vue
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ const handleUnlockClick = async (fingerprint: string) => {
<span class="monospace">{{ row.fingerprint }}</span>
</template>
<template #nickname-data="{ row }">
{{ userStore?.nickNames?.[row.fingerprint] || '-' }}
{{ userStore?.relaysMeta?.[row.fingerprint]?.nickname || '-' }}
</template>
<template #previousDistribution-data="{ row }">
{{ facilitatorStore?.distributionPerRelay?.[row.fingerprint] || '-' }}
Expand Down
2 changes: 1 addition & 1 deletion components/DataTableMyRelays/DataTableMyRelaysMobile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ const handleUnlockClick = async (fingerprint: string) => {
>
<div class="flex justify-between items-center">
<div class="font-semibold">Nickname</div>
<div>{{ userStore?.nickNames?.[row.fingerprint] || '-' }}</div>
<div>{{ userStore?.relaysMeta?.[row.fingerprint]?.nickname || '-' }}</div>
</div>
<div class="flex justify-between items-center mt-2">
<div class="font-semibold">Running</div>
Expand Down
1 change: 0 additions & 1 deletion composables/txCache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ export class TxCache {
if (fromCache) {
return fromCache;
}

const fetched = await $fetch<Data>(`${gateway}/${txId}`);
await this.saveTransactionData(txId, fetched);

Expand Down

0 comments on commit d67cca9

Please sign in to comment.