MkNumber for data in MkUserInfo

This commit is contained in:
ThatOneCalculator 2023-04-16 19:26:57 -07:00
parent 1678add210
commit ca7f24617b

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";