1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-10-31 23:31:48 +09:00
This commit is contained in:
tamaina 2023-08-06 12:16:49 +00:00
parent 722a731c26
commit db5046ed3a

View File

@ -53,7 +53,7 @@ SPDX-License-Identifier: AGPL-3.0-only
import { computed } from 'vue';
import MkInput from '@/components/MkInput.vue';
import MkSelect from '@/components/MkSelect.vue';
import MkPagination from '@/components/MkPagination.vue';
import MkPagination, { Paging } from '@/components/MkPagination.vue';
import MkInstanceCardMini from '@/components/MkInstanceCardMini.vue';
import FormSplit from '@/components/form/split.vue';
import { i18n } from '@/i18n';
@ -64,7 +64,7 @@ let sort = $ref('+pubSub');
const pagination = {
endpoint: 'federation/instances' as const,
limit: 10,
displatLimit: 50,
displayLimit: 50,
offsetMode: true,
params: computed(() => ({
sort: sort,
@ -78,7 +78,7 @@ const pagination = {
state === 'notResponding' ? { notResponding: true } :
{}),
})),
};
} as Paging;
function getStatus(instance) {
if (instance.isSuspended) return 'Suspended';