Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Space- Missing Quickactions #7349

Merged
merged 2 commits into from
Jul 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions changelog/unreleased/bugfix-spaces-missing-quick-actions
Original file line number Diff line number Diff line change
@@ -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
15 changes: 13 additions & 2 deletions packages/web-app-files/src/views/spaces/Project.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,14 @@
@fileClick="$_fileActions_triggerDefaultAction"
@rowMounted="rowMounted"
>
<template #quickActions="{ resource }">
<quick-actions
:class="resource.preview"
class="oc-visible@s"
:item="resource"
:actions="app.quickActions"
/>
</template>
<template #contextMenu="{ resource }">
<context-actions v-if="isResourceInSelection(resource)" :items="selectedResources" />
</template>
Expand Down Expand Up @@ -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'
Expand All @@ -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()
Expand All @@ -166,7 +175,8 @@ export default defineComponent({
Pagination,
ContextActions,
SpaceContextActions,
KeyboardActions
KeyboardActions,
QuickActions
},
mixins: [MixinAccessibleBreadcrumb, MixinFileActions, Mixins],
provide() {
Expand Down Expand Up @@ -204,6 +214,7 @@ export default defineComponent({
'totalFilesSize'
]),
...mapGetters(['user', 'configuration']),
...mapState(['app']),

breadcrumbs() {
return concatBreadcrumbs(
Expand Down