diff --git a/resources/js/App.vue b/resources/js/App.vue index d4e1ffb6..ed3a6d4f 100644 --- a/resources/js/App.vue +++ b/resources/js/App.vue @@ -25,7 +25,7 @@ import CookieDisclaimer from './components/Others/CookieDisclaimer' import Spinner from './components/FilesView/Spinner' import Vignette from './components/Others/Vignette' import Alert from './components/FilesView/Alert' -import RestrictionWarningBar from './RestrictionWarningBar' +import RestrictionWarningBar from './components/Subscription/RestrictionWarningBar' import { mapGetters } from 'vuex' import { events } from './bus' diff --git a/resources/js/components/FilesView/InfoSidebar.vue b/resources/js/components/FilesView/InfoSidebar.vue index 476737aa..316b139f 100644 --- a/resources/js/components/FilesView/InfoSidebar.vue +++ b/resources/js/components/FilesView/InfoSidebar.vue @@ -34,17 +34,9 @@
- - {{ singleFile.data.relationships.parent ? singleFile.data.relationships.parent.data.attributes.name : $t('locations.home') }} - - -
-
- - - -
- + + {{ singleFile.data.relationships.parent ? singleFile.data.relationships.parent.data.attributes.name : $getCurrentLocationName() }} +
diff --git a/resources/js/components/FilesView/ItemList.vue b/resources/js/components/FilesView/ItemList.vue index 96540b4b..8aa694dc 100644 --- a/resources/js/components/FilesView/ItemList.vue +++ b/resources/js/components/FilesView/ItemList.vue @@ -179,12 +179,14 @@ export default { this.itemName = this.entry.data.attributes.name // Change item name - events.$on('change:name', (item) => { - if (this.entry.data.id === item.id) this.itemName = item.name + events.$on('change:name', item => { + if (this.entry.data.id === item.id) { + this.itemName = item.name + } }) // Autofocus after newly created folder - events.$on('newFolder:focus', (id) => { + events.$on('newFolder:focus', id => { if (!this.$isMobile() && this.entry.data.id === id) { this.$refs.name.focus() document.execCommand('selectAll') diff --git a/resources/js/components/FilesView/Option.vue b/resources/js/components/FilesView/Option.vue index 865accbd..3d80b538 100644 --- a/resources/js/components/FilesView/Option.vue +++ b/resources/js/components/FilesView/Option.vue @@ -1,6 +1,6 @@