fix: hide status when discoverable is false only

zio/stable
三咲智子 2022-12-01 23:02:53 +08:00
parent 699c35c0b3
commit 989843d1d6
No known key found for this signature in database
GPG Key ID: 69992F2250DFD93E
1 changed files with 4 additions and 4 deletions

View File

@ -43,13 +43,13 @@ const paginator = $computed(() => tabs.find(t => t.name === tab)!.paginator)
</script>
<template>
<div v-if="account!.discoverable">
<div v-if="(account!.discoverable === false)" h-30 flex="~ center" text-secondary-light>
Profile unavailable
</div>
<div v-else>
<CommonTabs v-model="tab" :options="tabs" command />
<KeepAlive>
<TimelinePaginator :key="tab" :paginator="paginator" />
</KeepAlive>
</div>
<div v-else h-30 flex="~ center" text-secondary-light>
Profile unavailable
</div>
</template>