diff options
Diffstat (limited to 'packages/client/src')
| -rw-r--r-- | packages/client/src/pages/admin-file.vue | 2 | ||||
| -rw-r--r-- | packages/client/src/pages/user-info.vue | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/packages/client/src/pages/admin-file.vue b/packages/client/src/pages/admin-file.vue index 67ebdd4678..402e9502d2 100644 --- a/packages/client/src/pages/admin-file.vue +++ b/packages/client/src/pages/admin-file.vue @@ -28,7 +28,7 @@ <template #value><span class="_monospace"><MkTime :time="file.createdAt" mode="detail" style="display: block;"/></span></template> </MkKeyValue> </div> - <MkA class="user" :to="`/user-info/${file.user.id}`"> + <MkA v-if="file.user" class="user" :to="`/user-info/${file.user.id}`"> <MkUserCardMini :user="file.user"/> </MkA> <div class="_formBlock"> diff --git a/packages/client/src/pages/user-info.vue b/packages/client/src/pages/user-info.vue index b4c4aedfcd..86c1be8d06 100644 --- a/packages/client/src/pages/user-info.vue +++ b/packages/client/src/pages/user-info.vue @@ -12,6 +12,8 @@ </div> </div> + <MkInfo v-if="user.username.includes('.')" class="_formBlock">{{ i18n.ts.isSystemAccount }}</MkInfo> + <div v-if="user.url" class="_formLinksGrid _formBlock"> <FormLink :to="userPage(user)">Profile</FormLink> <FormLink :to="user.url" :external="true">Profile (remote)</FormLink> |