Update apps/files/src/components/BreadCrumbs.vue

Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Signed-off-by: Andrii Rublov <39839367+arublov@users.noreply.github.com>
This commit is contained in:
Andrii Rublov 2024-02-05 11:43:57 +01:00 committed by Andrii Rublov
parent c8b68ce639
commit 1c316c29f1

View file

@ -124,14 +124,14 @@ export default defineComponent({
})
},
uploadInProgress(): boolean {
isUploadInProgress(): boolean {
return this.uploaderStore.queue.length !== 0
},
// Hide breadcrumbs if an upload is ongoing on arrow screens
shouldShowBreadcrumbs(): boolean {
return this.filesListWidth < 768 && !this.uploadInProgress
},
return this.filesListWidth < 768 && !this.isUploadInProgress
},
},
methods: {