MkNumber for data in MkUserInfo

This commit is contained in:
ThatOneCalculator 2023-04-16 19:26:57 -07:00
parent d2a1c947a4
commit ca5d9377a1
No known key found for this signature in database
GPG key ID: 8703CACD01000000

View file

@ -34,15 +34,15 @@
<div class="status">
<div>
<p>{{ i18n.ts.notes }}</p>
<span>{{ user.notesCount }}</span>
<MkNumber :value="user.notesCount"/>
</div>
<div>
<p>{{ i18n.ts.following }}</p>
<span>{{ user.followingCount }}</span>
<MkNumber :value="user.followingCount"/>
</div>
<div>
<p>{{ i18n.ts.followers }}</p>
<span>{{ user.followersCount }}</span>
<MkNumber :value="user.followersCount"/>
</div>
</div>
<MkFollowButton
@ -57,6 +57,7 @@
<script lang="ts" setup>
import * as misskey from "calckey-js";
import MkFollowButton from "@/components/MkFollowButton.vue";
import MkNumber from "@/components/MkNumber.vue";
import { userPage } from "@/filters/user";
import { i18n } from "@/i18n";