fix(user): no retry when user is not moderator

This commit is contained in:
オスカー、 2024-12-08 01:06:29 +09:00
parent 380b5db5ed
commit b72230083f
No known key found for this signature in database
GPG key ID: 8947F3AF5B0B4BFE

View file

@ -24,7 +24,8 @@ SPDX-License-Identifier: AGPL-3.0-only
</MkHorizontalSwipe>
</div>
<div v-else-if="error">
<MkError @retry="fetchUser()"/>
<MkError v-if="iAmModerator" @retry="fetchUser()"/>
<MkUserNotFound v-else/>
</div>
<div v-else-if="userstatus">
<MkUserNotFound v-if="userstatus === 'notfound' || userstatus === 'suspended'"/>