aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/src/editor/GenerateButton.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/frontend/src/editor/GenerateButton.tsx')
-rw-r--r--subprojects/frontend/src/editor/GenerateButton.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/subprojects/frontend/src/editor/GenerateButton.tsx b/subprojects/frontend/src/editor/GenerateButton.tsx
index 5254f6cb..2ffb1a94 100644
--- a/subprojects/frontend/src/editor/GenerateButton.tsx
+++ b/subprojects/frontend/src/editor/GenerateButton.tsx
@@ -46,6 +46,7 @@ export default observer(function GenerateButton({
46 46
47 return ( 47 return (
48 <Button 48 <Button
49 disabled={!editorStore.opened}
49 color={warningCount > 0 ? 'warning' : 'primary'} 50 color={warningCount > 0 ? 'warning' : 'primary'}
50 className="rounded" 51 className="rounded"
51 startIcon={<PlayArrowIcon />} 52 startIcon={<PlayArrowIcon />}