mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-07 14:08:38 +00:00
fix: changelog test cases fail fixed (#8498)
This commit is contained in:
@@ -843,6 +843,7 @@ export const restoreActiveWorkspaceFromSnapshot = () => {
|
||||
|
||||
export const workspaceOpenedEvent = (workspacePath, workspaceUid, workspaceConfig) => {
|
||||
return async (dispatch, getState) => {
|
||||
const deferSwitchToStartupRestore = startupWorkspaceRestorePending;
|
||||
dispatch(createWorkspace({
|
||||
uid: workspaceUid,
|
||||
pathname: workspacePath,
|
||||
@@ -872,7 +873,7 @@ export const workspaceOpenedEvent = (workspacePath, workspaceUid, workspaceConfi
|
||||
} catch (err) {
|
||||
}
|
||||
|
||||
if (startupWorkspaceRestorePending) {
|
||||
if (deferSwitchToStartupRestore) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user