diff options
author | Kristóf Marussy <kristof@marussy.com> | 2022-09-05 01:29:11 +0200 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2022-09-06 01:05:24 +0200 |
commit | eb94326bb64552dbd7df62ae201ccca37f368467 (patch) | |
tree | b810f0230ace058cac8a6343455ca60113925221 /subprojects/frontend/src/editor/GenerateButton.tsx | |
parent | refactor(frontend): more readable indentation (diff) | |
download | refinery-eb94326bb64552dbd7df62ae201ccca37f368467.tar.gz refinery-eb94326bb64552dbd7df62ae201ccca37f368467.tar.zst refinery-eb94326bb64552dbd7df62ae201ccca37f368467.zip |
feat(frontend): show connection status
Diffstat (limited to 'subprojects/frontend/src/editor/GenerateButton.tsx')
-rw-r--r-- | subprojects/frontend/src/editor/GenerateButton.tsx | 1 |
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 />} |