diff --git a/changelog/unreleased/bugfix-appbar-viewoptions-alignement b/changelog/unreleased/bugfix-appbar-viewoptions-alignment similarity index 86% rename from changelog/unreleased/bugfix-appbar-viewoptions-alignement rename to changelog/unreleased/bugfix-appbar-viewoptions-alignment index 5603f5e588f..5e41e78d5c8 100644 --- a/changelog/unreleased/bugfix-appbar-viewoptions-alignement +++ b/changelog/unreleased/bugfix-appbar-viewoptions-alignment @@ -1,4 +1,4 @@ -Bugfix: AppBar ViewOptions alignement +Bugfix: AppBar ViewOptions alignment We have fixed a visual glitch that rendered the ViewOptions in the AppBar on the left side instead of right-aligned if no Breadcrumbs or SharesNavigation is present. diff --git a/packages/web-app-files/src/views/Personal.vue b/packages/web-app-files/src/views/Personal.vue index fbc20829349..5676d146982 100644 --- a/packages/web-app-files/src/views/Personal.vue +++ b/packages/web-app-files/src/views/Personal.vue @@ -105,6 +105,7 @@ import { useResourcesViewDefaults } from '../composables' import { fetchResources } from '../services/folder/loaderPersonal' import { defineComponent } from '@vue/composition-api' import { Resource } from '../helpers/resource' +import { useCapabilitySpacesEnabled } from 'web-pkg/src/composables' const visibilityObserver = new VisibilityObserver() @@ -133,7 +134,8 @@ export default defineComponent({ setup() { return { ...useResourcesViewDefaults(), - resourceTargetLocation: createLocationSpaces('files-spaces-personal-home') + resourceTargetLocation: createLocationSpaces('files-spaces-personal-home'), + hasSpaces: useCapabilitySpacesEnabled() } }, diff --git a/packages/web-app-files/src/views/PublicFiles.vue b/packages/web-app-files/src/views/PublicFiles.vue index e9530a3134d..4606d922316 100644 --- a/packages/web-app-files/src/views/PublicFiles.vue +++ b/packages/web-app-files/src/views/PublicFiles.vue @@ -1,6 +1,10 @@