fix: check for name with correct var

This commit is contained in:
Ricardo Arturo Cabral Mejia 2022-03-27 20:12:23 +00:00 committed by fiatjaf
parent 8b0c96add2
commit 5ba7f9596f

View File

@ -1,6 +1,6 @@
<template> <template>
<q-page class="px-4 pt-6"> <q-page class="px-4 pt-6">
<div v-if="$store.getters.hasName(pubkey)" class="text-xl">Hello <Name :pubkey="$store.state.keys.pub" /></div> <div v-if="$store.getters.hasName($store.state.keys.pub)" class="text-xl">Hello <Name :pubkey="$store.state.keys.pub" /></div>
<div v-else class="text-xl">Home</div> <div v-else class="text-xl">Home</div>
<Publish /> <Publish />