mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-11-16 16:57:14 +01:00
11349561d6
* wip * wip * wip * wip * wip * wip * wip * wip * wip * Update yarn.lock * wip * wip
29 lines
580 B
Vue
29 lines
580 B
Vue
<template>
|
|
<div>
|
|
<XDrive ref="drive" @cd="x => folder = x"/>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { computed, defineComponent } from 'vue';
|
|
import XDrive from '@client/components/drive.vue';
|
|
import * as os from '@client/os';
|
|
import * as symbols from '@client/symbols';
|
|
|
|
export default defineComponent({
|
|
components: {
|
|
XDrive
|
|
},
|
|
|
|
data() {
|
|
return {
|
|
[symbols.PAGE_INFO]: {
|
|
title: computed(() => this.folder ? this.folder.name : this.$ts.drive),
|
|
icon: 'fas fa-cloud',
|
|
menu: () => this.$refs.drive.getMenu()
|
|
},
|
|
folder: null,
|
|
};
|
|
},
|
|
});
|
|
</script>
|