diff --git a/changelog/unreleased/bugfix-spaces-missing-quick-actions b/changelog/unreleased/bugfix-spaces-missing-quick-actions new file mode 100644 index 00000000000..de960a558d1 --- /dev/null +++ b/changelog/unreleased/bugfix-spaces-missing-quick-actions @@ -0,0 +1,6 @@ +Bugfix: Missing quick actions in spaces file list + +We've fixed a bug where the quick actions 'Add people' and 'Copy quicklink' were missing in the spaces file list. + +https://github.com/owncloud/web/pull/7349 +https://github.com/owncloud/web/issues/7339 diff --git a/packages/web-app-files/src/views/spaces/Project.vue b/packages/web-app-files/src/views/spaces/Project.vue index 5661a2acd03..aa0c998de79 100644 --- a/packages/web-app-files/src/views/spaces/Project.vue +++ b/packages/web-app-files/src/views/spaces/Project.vue @@ -103,6 +103,14 @@ @fileClick="$_fileActions_triggerDefaultAction" @rowMounted="rowMounted" > + @@ -135,7 +143,7 @@ import { buildResource, buildWebDavSpacesPath } from '../../helpers/resources' import { loadPreview, move } from '../../helpers/resource' import ResourceTable from '../../components/FilesList/ResourceTable.vue' import { createLocationSpaces } from '../../router' -import { mapActions, mapGetters, mapMutations } from 'vuex' +import { mapActions, mapGetters, mapMutations, mapState } from 'vuex' import AppBar from '../../components/AppBar/AppBar.vue' import CreateAndUpload from '../../components/AppBar/CreateAndUpload.vue' import ListInfo from '../../components/FilesList/ListInfo.vue' @@ -150,6 +158,7 @@ import SpaceContextActions from '../../components/Spaces/SpaceContextActions.vue import { useResourcesViewDefaults } from '../../composables' import { useAccessToken, useStore } from 'web-pkg/src/composables' import KeyboardActions from '../../components/FilesList/KeyboardActions.vue' +import QuickActions from '../../components/FilesList/QuickActions.vue' import { configurationManager } from 'web-pkg/src/configuration' const visibilityObserver = new VisibilityObserver() @@ -166,7 +175,8 @@ export default defineComponent({ Pagination, ContextActions, SpaceContextActions, - KeyboardActions + KeyboardActions, + QuickActions }, mixins: [MixinAccessibleBreadcrumb, MixinFileActions, Mixins], provide() { @@ -204,6 +214,7 @@ export default defineComponent({ 'totalFilesSize' ]), ...mapGetters(['user', 'configuration']), + ...mapState(['app']), breadcrumbs() { return concatBreadcrumbs(