fix(plugin-resource-manager): CB-2019 1925 check for the value length

This commit is contained in:
Naumov Alexey
2022-05-12 16:17:31 +02:00
parent 1b80753f3d
commit aeac19c9df
@@ -63,6 +63,7 @@ export const SaveScriptDialog: DialogComponent<Payload, string> = observer(funct
<Button
type="button"
mod={['unelevated']}
disabled={!state.value?.trim()}
onClick={() => resolveDialog(state.value)}
>
<Translate token='ui_processing_save' />