forked from Mirrors/elk
fix: hide status when discoverable is false only
This commit is contained in:
parent
699c35c0b3
commit
989843d1d6
1 changed files with 4 additions and 4 deletions
|
@ -43,13 +43,13 @@ const paginator = $computed(() => tabs.find(t => t.name === tab)!.paginator)
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<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 />
|
<CommonTabs v-model="tab" :options="tabs" command />
|
||||||
<KeepAlive>
|
<KeepAlive>
|
||||||
<TimelinePaginator :key="tab" :paginator="paginator" />
|
<TimelinePaginator :key="tab" :paginator="paginator" />
|
||||||
</KeepAlive>
|
</KeepAlive>
|
||||||
</div>
|
</div>
|
||||||
<div v-else h-30 flex="~ center" text-secondary-light>
|
|
||||||
Profile unavailable
|
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in a new issue