mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
Allow Null = 0
Allow Value to be nullable, will autofill 0 if value is null or 0, to facilitate "unlimited" connections.
This commit is contained in:
@@ -51,7 +51,10 @@ export default ({ database, className }: Props) => {
|
||||
addError({ key: 'database:delete', message: httpErrorToHuman(error) });
|
||||
});
|
||||
};
|
||||
|
||||
if (!database.maxConnections){
|
||||
database.maxConnections = "Unlimited"
|
||||
}
|
||||
|
||||
return (
|
||||
<React.Fragment>
|
||||
<Formik
|
||||
|
||||
Reference in New Issue
Block a user