1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-04-17 18:32:35 +00:00

Merge branch 'fix-impersonate-preserve' into 'develop'

Fix impersonate feature

See merge request 
This commit is contained in:
Bram Wiepjes 2024-07-25 18:58:43 +00:00
commit d580a48f25
2 changed files with 10 additions and 1 deletions
changelog/entries/unreleased/feature
web-frontend/modules/core/pages

View file

@ -0,0 +1,7 @@
{
"type": "feature",
"message": "Replaced the dashboard with a workspace specific homepage.",
"issue_number": null,
"bullet_points": [],
"created_at": "2024-07-25"
}

View file

@ -55,7 +55,7 @@ export default {
WorkspaceInvitation,
},
layout: 'app',
async asyncData({ store, redirect }) {
async asyncData({ query, store, redirect }) {
const selectedWorkspace = store.getters['workspace/getSelected']
const allWorkspaces = store.getters['workspace/getAll']
@ -66,6 +66,7 @@ export default {
params: {
workspaceId: selectedWorkspace.id,
},
query,
})
}
@ -77,6 +78,7 @@ export default {
params: {
workspaceId: allWorkspaces[0].id,
},
query,
})
}