fix: remove profile unavailable (temporary)

This commit is contained in:
三咲智子 2022-12-03 13:42:00 +08:00
parent bbaccfcde5
commit aab6eb6752
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E

View file

@ -43,10 +43,11 @@ const paginator = $computed(() => tabs.find(t => t.name === tab)!.paginator)
</script> </script>
<template> <template>
<div v-if="(account!.discoverable === false)" h-30 flex="~ center" text-secondary-light> <!-- TODO figure out when profile is unavailable -->
<!-- <div v-if="(account!.discoverable === false)" h-30 flex="~ center" text-secondary-light>
{{ $t('account.profile_unavailable') }} {{ $t('account.profile_unavailable') }}
</div> </div> -->
<div v-else> <div>
<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" />