mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-05 16:39:58 +00:00
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>
|
||||
|
||||
<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>
|
||||
|
|
Loading…
Reference in a new issue