2020-01-29 20:37:25 +01:00
|
|
|
<template>
|
2020-10-17 13:12:00 +02:00
|
|
|
<div>
|
|
|
|
<XDrive ref="drive" @cd="x => folder = x"/>
|
2020-01-29 20:37:25 +01:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
2022-01-14 15:23:08 +01:00
|
|
|
<script lang="ts" setup>
|
|
|
|
import { computed } from 'vue';
|
2022-08-30 17:24:33 +02:00
|
|
|
import XDrive from '@/components/MkDrive.vue';
|
2022-01-14 15:23:08 +01:00
|
|
|
import { i18n } from '@/i18n';
|
2022-06-20 10:38:49 +02:00
|
|
|
import { definePageMetadata } from '@/scripts/page-metadata';
|
2020-01-29 20:37:25 +01:00
|
|
|
|
2022-01-14 15:23:08 +01:00
|
|
|
let folder = $ref(null);
|
2020-01-29 20:37:25 +01:00
|
|
|
|
2022-06-20 10:38:49 +02:00
|
|
|
const headerActions = $computed(() => []);
|
|
|
|
|
|
|
|
const headerTabs = $computed(() => []);
|
|
|
|
|
|
|
|
definePageMetadata(computed(() => ({
|
|
|
|
title: folder ? folder.name : i18n.ts.drive,
|
2022-12-19 11:01:30 +01:00
|
|
|
icon: 'ti ti-cloud',
|
2022-06-20 10:38:49 +02:00
|
|
|
hideHeader: true,
|
|
|
|
})));
|
2020-01-29 20:37:25 +01:00
|
|
|
</script>
|