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 baserow/baserow!2577
This commit is contained in:
commit
d580a48f25
2 changed files with 10 additions and 1 deletions
changelog/entries/unreleased/feature
web-frontend/modules/core/pages
|
@ -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"
|
||||
}
|
|
@ -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,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue