2020-01-29 20:37:25 +01:00
|
|
|
<template>
|
2023-04-08 02:01:42 +02:00
|
|
|
<div>
|
|
|
|
<XDrive ref="drive" @cd="(x) => (folder = x)" />
|
|
|
|
</div>
|
2020-01-29 20:37:25 +01:00
|
|
|
</template>
|
|
|
|
|
2022-01-14 15:23:08 +01:00
|
|
|
<script lang="ts" setup>
|
2023-04-08 02:01:42 +02:00
|
|
|
import { computed } from "vue";
|
|
|
|
import XDrive from "@/components/MkDrive.vue";
|
|
|
|
import * as os from "@/os";
|
|
|
|
import { i18n } from "@/i18n";
|
|
|
|
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(() => []);
|
|
|
|
|
2023-04-08 02:01:42 +02:00
|
|
|
definePageMetadata(
|
|
|
|
computed(() => ({
|
|
|
|
title: folder ? folder.name : i18n.ts.drive,
|
|
|
|
icon: "ph-cloud ph-bold ph-lg",
|
|
|
|
hideHeader: true,
|
|
|
|
}))
|
|
|
|
);
|
2020-01-29 20:37:25 +01:00
|
|
|
</script>
|