client: re-add instance list to admin panel

closes FoundKeyGang/FoundKey#162
This commit is contained in:
Johann150 2022-09-19 21:33:11 +02:00
parent d8a8306603
commit fab7cdb85c
Signed by untrusted user: Johann150
GPG key ID: 9EE6577A2A06F8F1
4 changed files with 22 additions and 1 deletions

View file

@ -83,7 +83,7 @@
import { computed } from 'vue';
import * as foundkey from 'foundkey-js';
import XEmojis from './about.emojis.vue';
import XFederation from './about.federation.vue';
import XFederation from '@/components/federation.vue';
import { version, host } from '@/config';
import FormLink from '@/components/form/link.vue';
import FormSection from '@/components/form/section.vue';

View file

@ -0,0 +1,20 @@
<template>
<MkStickyContainer>
<template #header><XHeader :actions="[]" :tabs="[]"/></template>
<MkSpacer :content-max="900">
<XFederation/>
</MkSpacer>
</MkStickyContainer>
</template>
<script lang="ts" setup>
import XHeader from './_header_.vue';
import { i18n } from '@/i18n';
import { definePageMetadata } from '@/scripts/page-metadata';
import XFederation from '@/components/federation.vue';
definePageMetadata({
title: i18n.ts.federation,
icon: 'fas fa-globe',
});
</script>

View file

@ -189,6 +189,7 @@ const component = $computed(() => {
case 'overview': return defineAsyncComponent(() => import('./overview.vue'));
case 'users': return defineAsyncComponent(() => import('./users.vue'));
case 'emojis': return defineAsyncComponent(() => import('./emojis.vue'));
case 'federation': return defineAsyncComponent(() => import('./federation.vue'));
case 'queue': return defineAsyncComponent(() => import('./queue.vue'));
case 'files': return defineAsyncComponent(() => import('./files.vue'));
case 'announcements': return defineAsyncComponent(() => import('./announcements.vue'));