Skip to content

Commit

Permalink
fix: keyblock navigation error (#418)
Browse files Browse the repository at this point in the history
  • Loading branch information
michele-franchi committed Aug 2, 2023
1 parent 2d25d3c commit 4fb492b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pages/keyblocks/[id].vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
v-if="keyblockDetails"
:keyblock-details="keyblockDetails"/>

<app-tabs v-if="!keyblockDetails.notExistent">
<app-tabs v-if="isKeyblockExistent">
<app-tab title="Microblocks">
<keyblock-microblocks-panel/>
</app-tab>
Expand All @@ -41,4 +41,6 @@ await useAsyncData(async() => {
await fetchKeyblock(route.params.id)
return true
})
const isKeyblockExistent = computed(() => keyblockDetails.value && !keyblockDetails.value.notExistent)
</script>

0 comments on commit 4fb492b

Please sign in to comment.