kopia lustrzana https://github.com/elk-zone/elk
fix: hide status when discoverable is false only
rodzic
699c35c0b3
commit
989843d1d6
|
@ -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>
|
||||
|
|
Ładowanie…
Reference in New Issue