mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-25 07:25:12 +00:00
fix UI hiding on admin-user.vue
This commit is contained in:
parent
c77e90d98a
commit
adc7b91e3b
1 changed files with 3 additions and 3 deletions
|
@ -227,16 +227,16 @@ const tab = ref(props.initialTab);
|
|||
const chartSrc = ref('per-user-notes');
|
||||
const user = ref<null | Misskey.entities.UserDetailed>();
|
||||
const init = ref<ReturnType<typeof createFetcher>>();
|
||||
const info = ref<any>();
|
||||
const info = ref<Misskey.entities.AdminShowUserResponse | null>(null);
|
||||
const ips = ref<Misskey.entities.AdminGetUserIpsResponse | null>(null);
|
||||
const ap = ref<any>(null);
|
||||
const ap = ref<Misskey.entities.ApGetResponse | null>(null);
|
||||
const moderator = ref(false);
|
||||
const silenced = ref(false);
|
||||
const approved = ref(false);
|
||||
const suspended = ref(false);
|
||||
const markedAsNSFW = ref(false);
|
||||
const moderationNote = ref('');
|
||||
const isSystem = computed(() => user.value?.isSystem ?? false);
|
||||
const isSystem = computed(() => info.value?.isSystem ?? false);
|
||||
const filesPagination = {
|
||||
endpoint: 'admin/drive/files' as const,
|
||||
limit: 10,
|
||||
|
|
Loading…
Reference in a new issue