From bb563ef20549aa93c80bc91786684e1aeb251ef0 Mon Sep 17 00:00:00 2001 From: Mario Nebl Date: Tue, 22 May 2018 19:40:55 +0200 Subject: [PATCH] fix: correctly pass page to create-menu --- src/electron/renderer.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/electron/renderer.ts b/src/electron/renderer.ts index e2e40a810..0ce257eee 100644 --- a/src/electron/renderer.ts +++ b/src/electron/renderer.ts @@ -246,10 +246,12 @@ Mobx.autorun(() => { Mobx.autorun(() => { const project = store.getProject(); const patternLibrary = store.getPatternLibrary(); + const page = store.getCurrentPage(); createMenu({ - project, + page, patternLibrary, + project, store }); });