summaryrefslogtreecommitdiff
path: root/extension/react-app
diff options
context:
space:
mode:
Diffstat (limited to 'extension/react-app')
-rw-r--r--extension/react-app/src/tabs/gui.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/extension/react-app/src/tabs/gui.tsx b/extension/react-app/src/tabs/gui.tsx
index 619b91e1..b6a18dc8 100644
--- a/extension/react-app/src/tabs/gui.tsx
+++ b/extension/react-app/src/tabs/gui.tsx
@@ -147,7 +147,8 @@ function GUI(props: GUIProps) {
} else if (
e.key === "Backspace" &&
e.metaKey &&
- typeof history?.current_index !== "undefined"
+ typeof history?.current_index !== "undefined" &&
+ history.timeline[history.current_index]?.active
) {
client?.deleteAtIndex(history.current_index);
}