forked from FoundKeyGang/FoundKey
client: re-add instance list to admin panel
closes FoundKeyGang/FoundKey#162
This commit is contained in:
parent
d8a8306603
commit
fab7cdb85c
4 changed files with 22 additions and 1 deletions
|
@ -83,7 +83,7 @@
|
||||||
import { computed } from 'vue';
|
import { computed } from 'vue';
|
||||||
import * as foundkey from 'foundkey-js';
|
import * as foundkey from 'foundkey-js';
|
||||||
import XEmojis from './about.emojis.vue';
|
import XEmojis from './about.emojis.vue';
|
||||||
import XFederation from './about.federation.vue';
|
import XFederation from '@/components/federation.vue';
|
||||||
import { version, host } from '@/config';
|
import { version, host } from '@/config';
|
||||||
import FormLink from '@/components/form/link.vue';
|
import FormLink from '@/components/form/link.vue';
|
||||||
import FormSection from '@/components/form/section.vue';
|
import FormSection from '@/components/form/section.vue';
|
||||||
|
|
20
packages/client/src/pages/admin/federation.vue
Normal file
20
packages/client/src/pages/admin/federation.vue
Normal 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>
|
|
@ -189,6 +189,7 @@ const component = $computed(() => {
|
||||||
case 'overview': return defineAsyncComponent(() => import('./overview.vue'));
|
case 'overview': return defineAsyncComponent(() => import('./overview.vue'));
|
||||||
case 'users': return defineAsyncComponent(() => import('./users.vue'));
|
case 'users': return defineAsyncComponent(() => import('./users.vue'));
|
||||||
case 'emojis': return defineAsyncComponent(() => import('./emojis.vue'));
|
case 'emojis': return defineAsyncComponent(() => import('./emojis.vue'));
|
||||||
|
case 'federation': return defineAsyncComponent(() => import('./federation.vue'));
|
||||||
case 'queue': return defineAsyncComponent(() => import('./queue.vue'));
|
case 'queue': return defineAsyncComponent(() => import('./queue.vue'));
|
||||||
case 'files': return defineAsyncComponent(() => import('./files.vue'));
|
case 'files': return defineAsyncComponent(() => import('./files.vue'));
|
||||||
case 'announcements': return defineAsyncComponent(() => import('./announcements.vue'));
|
case 'announcements': return defineAsyncComponent(() => import('./announcements.vue'));
|
||||||
|
|
Loading…
Reference in a new issue