mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-02 04:24:17 +02:00
refactor(frontend): page-metadata -> page
This commit is contained in:
@@ -54,7 +54,7 @@ import MkButton from '@/components/MkButton.vue';
|
||||
import * as os from '@/os.js';
|
||||
import { misskeyApi } from '@/utility/misskey-api.js';
|
||||
import { i18n } from '@/i18n.js';
|
||||
import { definePageMetadata } from '@/utility/page-metadata.js';
|
||||
import { definePage } from '@/page.js';
|
||||
import { $i, updateAccountPartial } from '@/account.js';
|
||||
import { prefer } from '@/preferences.js';
|
||||
|
||||
@@ -102,7 +102,7 @@ const headerActions = computed(() => []);
|
||||
|
||||
const headerTabs = computed(() => []);
|
||||
|
||||
definePageMetadata(() => ({
|
||||
definePage(() => ({
|
||||
title: announcement.value ? announcement.value.title : i18n.ts.announcements,
|
||||
icon: 'ti ti-speakerphone',
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user