1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-12-25 03:58:27 +09:00
misskey/src/client/pages/drive.vue
syuilo d3fe02fb3e
Default UI redesign (#7429)
* wip

* wip

* wip

* wip

* Update default.sidebar.vue

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update sticky-sidebar.ts

* wip

* wip

* Update messaging-room.form.vue

* Update timeline.vue
2021-04-10 12:40:50 +09:00

30 lines
575 B
Vue

<template>
<div>
<XDrive ref="drive" @cd="x => folder = x"/>
</div>
</template>
<script lang="ts">
import { computed, defineComponent } from 'vue';
import { faCloud } from '@fortawesome/free-solid-svg-icons';
import XDrive from '@client/components/drive.vue';
import * as os from '@client/os';
export default defineComponent({
components: {
XDrive
},
data() {
return {
INFO: {
title: computed(() => this.folder ? this.folder.name : this.$ts.drive),
icon: faCloud,
menu: () => this.$refs.drive.getMenu()
},
folder: null,
};
},
});
</script>