refactor(frontend): page-metadata -> page

This commit is contained in:
syuilo
2025-03-10 13:47:38 +09:00
parent 5ed1101bbd
commit 9998cb84e8
143 changed files with 286 additions and 286 deletions

View File

@@ -40,7 +40,7 @@ import { computed, watch, ref } from 'vue';
import * as Misskey from 'misskey-js';
import { misskeyApi } from '@/utility/misskey-api.js';
import MkUserList from '@/components/MkUserList.vue';
import { definePageMetadata } from '@/utility/page-metadata.js';
import { definePage } from '@/page.js';
import { i18n } from '@/i18n.js';
import MkTimeline from '@/components/MkTimeline.vue';
import { instanceName } from '@@/js/config.js';
@@ -93,7 +93,7 @@ const headerTabs = computed(() => [{
title: i18n.ts.timeline,
}]);
definePageMetadata(() => ({
definePage(() => ({
title: role.value ? role.value.name : (error.value ?? i18n.ts.role),
icon: 'ti ti-badge',
}));