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