refactor(frontend): page-metadata -> page
This commit is contained in:
@@ -33,7 +33,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
<script setup lang="ts">
|
||||
import { computed, onActivated, onMounted, onUnmounted, ref, shallowRef, watch } from 'vue';
|
||||
import type { PageMetadata } from '@/utility/page-metadata.js';
|
||||
import type { PageMetadata } from '@/page.js';
|
||||
import type { SuperMenuDef } from '@/components/MkSuperMenu.vue';
|
||||
import { i18n } from '@/i18n.js';
|
||||
import MkInfo from '@/components/MkInfo.vue';
|
||||
@@ -41,7 +41,7 @@ import MkSuperMenu from '@/components/MkSuperMenu.vue';
|
||||
import { signout, $i } from '@/account.js';
|
||||
import { clearCache } from '@/utility/clear-cache.js';
|
||||
import { instance } from '@/instance.js';
|
||||
import { definePageMetadata, provideMetadataReceiver, provideReactiveMetadata } from '@/utility/page-metadata.js';
|
||||
import { definePage, provideMetadataReceiver, provideReactiveMetadata } from '@/page.js';
|
||||
import * as os from '@/os.js';
|
||||
import { useRouter } from '@/router/supplier.js';
|
||||
import { searchIndexes } from '@/utility/autogen/settings-search-index.js';
|
||||
@@ -252,7 +252,7 @@ const headerActions = computed(() => []);
|
||||
|
||||
const headerTabs = computed(() => []);
|
||||
|
||||
definePageMetadata(() => INFO.value);
|
||||
definePage(() => INFO.value);
|
||||
// w 890
|
||||
// h 700
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user