mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
fix(plugin-resource-manager): CB-2019 1925 check for the value length
This commit is contained in:
@@ -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' />
|
||||
|
||||
Reference in New Issue
Block a user