mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 20:49:06 +01:00
14148f6c4a
Resolve #7779
45 lines
619 B
Vue
45 lines
619 B
Vue
<template>
|
|
<XWindow ref="window"
|
|
:initial-width="800"
|
|
:initial-height="500"
|
|
:can-resize="true"
|
|
@closed="$emit('closed')"
|
|
>
|
|
<template #header>
|
|
{{ $ts.drive }}
|
|
</template>
|
|
<XDrive :initial-folder="initialFolder"/>
|
|
</XWindow>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { defineComponent } from 'vue';
|
|
import XDrive from './drive.vue';
|
|
import XWindow from '@/components/ui/window.vue';
|
|
|
|
export default defineComponent({
|
|
components: {
|
|
XDrive,
|
|
XWindow,
|
|
},
|
|
|
|
props: {
|
|
initialFolder: {
|
|
type: Object,
|
|
required: false
|
|
},
|
|
},
|
|
|
|
emits: ['closed'],
|
|
|
|
data() {
|
|
return {
|
|
};
|
|
},
|
|
|
|
methods: {
|
|
|
|
}
|
|
});
|
|
</script>
|