Skip to content

Commit 11baa2c

Browse files
author
Ives van Hoorne
committed
Reset changed modules between navigations
1 parent d1b95cf commit 11baa2c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/app/src/app/store/sequences.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,10 @@ export const loadSandbox = factories.withLoadApp([
268268
false: [
269269
set(state`editor.isLoading`, true),
270270
set(state`editor.notFound`, false),
271+
// Only reset changed modules if sandbox wasn't in memory, otherwise a fork
272+
// can mark real changed modules as unchanged
273+
set(state`editor.changedModuleShortids`, []),
274+
271275
actions.getSandbox,
272276
{
273277
success: [

0 commit comments

Comments
 (0)