Skip to content

Commit

Permalink
fix quicklink action storageid retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
fschade committed Jul 7, 2022
1 parent 5e95e12 commit 619d78b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/web-app-files/src/mixins/actions/createQuicklink.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ export default {
methods: {
async $_createQuicklink_trigger({ resources }) {
const store = this.$store
const [resource] = resources
await createQuicklink({
resource: resources[0],
storageId: this.$route.params.storageId,
resource,
storageId: this.$route.params.storageId || resource?.fileId || resource?.id,
store
})

Expand Down

0 comments on commit 619d78b

Please sign in to comment.