mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Port Resource Group node to react. Fixes #6629
This commit is contained in:
@@ -130,7 +130,7 @@ function MappedCellControlBase({cell, value, id, optionsLoaded, onCellChange, vi
|
||||
if(!isNaN(parseInt(value))) {
|
||||
value = parseInt(value);
|
||||
}
|
||||
onChange && onChange(value);
|
||||
onCellChange && onCellChange(value);
|
||||
}, []);
|
||||
|
||||
const onNumChange = useCallback((e) => {
|
||||
@@ -141,7 +141,7 @@ function MappedCellControlBase({cell, value, id, optionsLoaded, onCellChange, vi
|
||||
if(!isNaN(parseFloat(value))) {
|
||||
value = parseFloat(value);
|
||||
}
|
||||
onChange && onChange(value);
|
||||
onCellChange && onCellChange(value);
|
||||
}, []);
|
||||
|
||||
/* Some grid cells are based on options selected in other cells.
|
||||
|
||||
Reference in New Issue
Block a user