fix: set current workspace id in redux store (#18053)
On forking application ( a hush hush operation ), workspace was not set up to the current one. The current one will be the one where the application is being forked.
This commit is contained in:
parent
814559e6b5
commit
ec5a823ec0
|
|
@ -613,6 +613,12 @@ export function* forkApplicationSaga(
|
|||
application,
|
||||
},
|
||||
});
|
||||
yield put({
|
||||
type: ReduxActionTypes.SET_CURRENT_WORKSPACE_ID,
|
||||
payload: {
|
||||
id: action.payload.workspaceId,
|
||||
},
|
||||
});
|
||||
const pageURL = builderURL({
|
||||
pageId: application.defaultPageId as string,
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user