Skip to content

Commit 0995180

Browse files
fix open module
1 parent 5a0df17 commit 0995180

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/app/src/app/overmind/namespaces/editor/models/EditorSandbox.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ export class EditorSandbox {
7171
private changedModuleShortids: string[] = [];
7272
public errors: ModuleError[];
7373
public corrections: ModuleCorrection[];
74-
private getModuleParents(modules, directories, id): string[] {
75-
const module = modules.find(moduleEntry => moduleEntry.id === id);
74+
private getModuleParents(modules, directories, shortid): string[] {
75+
const module = modules.find(moduleEntry => moduleEntry.shortid === shortid);
7676

7777
if (!module) return [];
7878

0 commit comments

Comments
 (0)