From 2fc4c30bedc25245a139aceaeb0d923757018086 Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Fri, 25 Feb 2022 12:41:19 +0100 Subject: [PATCH] :bug: [Prototype] Prototype mode should not allow edits --- frontend/src/app/main/data/workspace.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/main/data/workspace.cljs b/frontend/src/app/main/data/workspace.cljs index 3c896d322..15c46bfdb 100644 --- a/frontend/src/app/main/data/workspace.cljs +++ b/frontend/src/app/main/data/workspace.cljs @@ -755,7 +755,7 @@ (watch [_ state _] (let [selected (wsh/lookup-selected state) hover-guides (get-in state [:workspace-guides :hover]) - options-mode (get-in state [:workspace-global :options-mode])] + options-mode (get-in state [:workspace-local :options-mode])] (cond (and (= options-mode :prototype) (d/not-empty? selected)) (rx/of (dwi/remove-interactions selected))