merge: upstream
This commit is contained in:
@@ -10,19 +10,19 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed } from 'vue';
|
||||
import { computed, ref } from 'vue';
|
||||
import XDrive from '@/components/MkDrive.vue';
|
||||
import { i18n } from '@/i18n.js';
|
||||
import { definePageMetadata } from '@/scripts/page-metadata.js';
|
||||
|
||||
let folder = $ref(null);
|
||||
const folder = ref(null);
|
||||
|
||||
const headerActions = $computed(() => []);
|
||||
const headerActions = computed(() => []);
|
||||
|
||||
const headerTabs = $computed(() => []);
|
||||
const headerTabs = computed(() => []);
|
||||
|
||||
definePageMetadata(computed(() => ({
|
||||
title: folder ? folder.name : i18n.ts.drive,
|
||||
title: folder.value ? folder.value.name : i18n.ts.drive,
|
||||
icon: 'ph-cloud ph-bold ph-lg',
|
||||
hideHeader: true,
|
||||
})));
|
||||
|
||||
Reference in New Issue
Block a user