This commit is contained in:
syuilo 2025-03-20 13:34:57 +09:00
parent 3399c786a8
commit 0c682dd027
1 changed files with 31 additions and 38 deletions

View File

@ -5,9 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template> <template>
<MkPageWithAnimBg> <MkPageWithAnimBg>
<MkStickyContainer> <MkSpacer :contentMax="550" :marginMax="50">
<template #header><MkPageHeader :actions="headerActions" :tabs="headerTabs"/></template>
<MkSpacer :contentMax="550">
<MkLoading v-if="uiPhase === 'fetching'"/> <MkLoading v-if="uiPhase === 'fetching'"/>
<MkExtensionInstaller v-else-if="uiPhase === 'confirm' && data" :extension="data" @confirm="install()" @cancel="close_()"> <MkExtensionInstaller v-else-if="uiPhase === 'confirm' && data" :extension="data" @confirm="install()" @cancel="close_()">
<template #additionalInfo> <template #additionalInfo>
@ -39,7 +37,6 @@ SPDX-License-Identifier: AGPL-3.0-only
</div> </div>
</div> </div>
</MkSpacer> </MkSpacer>
</MkStickyContainer>
</MkPageWithAnimBg> </MkPageWithAnimBg>
</template> </template>
@ -235,10 +232,6 @@ url.value = urlParams.get('url');
hash.value = urlParams.get('hash'); hash.value = urlParams.get('hash');
fetch(); fetch();
const headerActions = computed(() => []);
const headerTabs = computed(() => []);
definePage(() => ({ definePage(() => ({
title: i18n.ts._externalResourceInstaller.title, title: i18n.ts._externalResourceInstaller.title,
icon: 'ti ti-download', icon: 'ti ti-download',