diff --git a/frontend/src/app/main/data/workspace/undo.cljs b/frontend/src/app/main/data/workspace/undo.cljs index 108d5f9fb4..d17b6de887 100644 --- a/frontend/src/app/main/data/workspace/undo.cljs +++ b/frontend/src/app/main/data/workspace/undo.cljs @@ -81,7 +81,8 @@ (update [_ state] (cond (and (get-in state [:workspace-undo :transaction]) - (or (d/not-empty? (get-in state [:workspace-undo :transaction :undo-changes])) + (or (not stack?) + (d/not-empty? (get-in state [:workspace-undo :transaction :undo-changes])) (d/not-empty? (get-in state [:workspace-undo :transaction :redo-changes])))) (accumulate-undo-entry state entry)