mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-21 17:05:22 +03:00
feat: don't fetch status when profile undiscoverable
This commit is contained in:
parent
3485208929
commit
4c589a4033
1 changed files with 4 additions and 1 deletions
|
@ -43,10 +43,13 @@ const paginator = $computed(() => tabs.find(t => t.name === tab)!.paginator)
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<div v-if="account!.discoverable">
|
||||
<CommonTabs v-model="tab" :options="tabs" command />
|
||||
<KeepAlive>
|
||||
<TimelinePaginator :key="tab" :paginator="paginator" />
|
||||
</KeepAlive>
|
||||
</div>
|
||||
<div v-else h-30 flex="~ center" text-gray>
|
||||
Profile unavailable
|
||||
</div>
|
||||
</template>
|
||||
|
|
Loading…
Reference in a new issue