2023-07-27 08:31:52 +03:00
|
|
|
<!--
|
|
|
|
SPDX-FileCopyrightText: syuilo and other misskey contributors
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
-->
|
|
|
|
|
2020-01-29 21:37:25 +02:00
|
|
|
<template>
|
2020-10-17 14:12:00 +03:00
|
|
|
<div>
|
|
|
|
<XDrive ref="drive" @cd="x => folder = x"/>
|
2020-01-29 21:37:25 +02:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
2022-01-14 16:23:08 +02:00
|
|
|
<script lang="ts" setup>
|
|
|
|
import { computed } from 'vue';
|
2022-08-30 18:24:33 +03:00
|
|
|
import XDrive from '@/components/MkDrive.vue';
|
2023-09-19 10:37:43 +03:00
|
|
|
import { i18n } from '@/i18n.js';
|
|
|
|
import { definePageMetadata } from '@/scripts/page-metadata.js';
|
2020-01-29 21:37:25 +02:00
|
|
|
|
2022-01-14 16:23:08 +02:00
|
|
|
let folder = $ref(null);
|
2020-01-29 21:37:25 +02:00
|
|
|
|
2022-06-20 11:38:49 +03:00
|
|
|
const headerActions = $computed(() => []);
|
|
|
|
|
|
|
|
const headerTabs = $computed(() => []);
|
|
|
|
|
|
|
|
definePageMetadata(computed(() => ({
|
|
|
|
title: folder ? folder.name : i18n.ts.drive,
|
2022-12-19 12:01:30 +02:00
|
|
|
icon: 'ti ti-cloud',
|
2022-06-20 11:38:49 +03:00
|
|
|
hideHeader: true,
|
|
|
|
})));
|
2020-01-29 21:37:25 +02:00
|
|
|
</script>
|