parent
b641d08651
commit
d1f15240b7
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<FolderGrid v-if="folders.length && !$route.query.recursive" :items="folders" />
|
<FolderGrid v-if="show" :items="folders" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
@ -29,6 +29,12 @@ export default defineComponent({
|
||||||
|
|
||||||
mixins: [UserMixin],
|
mixins: [UserMixin],
|
||||||
|
|
||||||
|
computed: {
|
||||||
|
show() {
|
||||||
|
return this.folders.length && !this.$route.query.recursive;
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
async refresh(): Promise<boolean> {
|
async refresh(): Promise<boolean> {
|
||||||
const folder = utils.getFolderRoutePath(this.config.folders_path);
|
const folder = utils.getFolderRoutePath(this.config.folders_path);
|
||||||
|
|
Loading…
Reference in New Issue