From 418bca79b25431b959d5f7f00614ebc0bf22eb28 Mon Sep 17 00:00:00 2001 From: Nikita Date: Sun, 19 Oct 2025 23:05:33 +0300 Subject: [PATCH] Disable button when exporting & min start cycle is 0 --- website/src/repl/components/ExportModal.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/src/repl/components/ExportModal.jsx b/website/src/repl/components/ExportModal.jsx index dd207a47c..545350bbe 100644 --- a/website/src/repl/components/ExportModal.jsx +++ b/website/src/repl/components/ExportModal.jsx @@ -51,7 +51,7 @@ export default function ExportModal(Props) { onBlur={(e) => { let v = parseInt(e.target.value); console.log(v) - v = isNaN(v) ? 0 : Math.max(1, v); + v = isNaN(v) ? 0 : Math.max(0, v); setStartCycle(v); }} onChange={v => { @@ -111,7 +111,7 @@ export default function ExportModal(Props) { value={multiChannelOrbits} /> -