fix: type errors (#802)
This commit is contained in:
parent
272fb4a13d
commit
acdb94de62
24 changed files with 113 additions and 74 deletions
|
@ -1,5 +1,4 @@
|
|||
<script setup lang="ts">
|
||||
import type { Status } from 'masto'
|
||||
import type { ComponentPublicInstance } from 'vue'
|
||||
|
||||
definePageMeta({
|
||||
|
@ -93,7 +92,7 @@ onReactivated(() => {
|
|||
</template>
|
||||
</div>
|
||||
|
||||
<StatusNotFound v-else :account="route.params.account" :status="id" />
|
||||
<StatusNotFound v-else :account="route.params.account as string" :status="id" />
|
||||
</template>
|
||||
|
||||
<StatusCardSkeleton v-else border="b base" />
|
||||
|
|
|
@ -16,7 +16,7 @@ if (account) {
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<template v-if="account">
|
||||
<template v-if="paginator">
|
||||
<AccountPaginator :paginator="paginator" />
|
||||
</template>
|
||||
</template>
|
||||
|
|
|
@ -16,7 +16,7 @@ if (account) {
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<template v-if="account">
|
||||
<template v-if="paginator">
|
||||
<AccountPaginator :paginator="paginator" />
|
||||
</template>
|
||||
</template>
|
||||
|
|
|
@ -32,8 +32,10 @@ onReactivated(() => {
|
|||
<span text-lg font-bold>#{{ tagName }}</span>
|
||||
</template>
|
||||
|
||||
<template v-if="typeof tag?.following === 'boolean'" #actions>
|
||||
<TagActionButton :tag="tag" @change="refresh()" />
|
||||
<template #actions>
|
||||
<template v-if="typeof tag?.following === 'boolean'">
|
||||
<TagActionButton :tag="tag" @change="refresh()" />
|
||||
</template>
|
||||
</template>
|
||||
|
||||
<slot>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue