mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-20 07:13:45 +02:00
Remove from end user
Removed max connections from the end user view.
This commit is contained in:
@@ -51,9 +51,6 @@ export default ({ database, className }: Props) => {
|
||||
addError({ key: 'database:delete', message: httpErrorToHuman(error) });
|
||||
});
|
||||
};
|
||||
if (!database.maxConnections){
|
||||
database.maxConnections = "Unlimited"
|
||||
}
|
||||
|
||||
return (
|
||||
<React.Fragment>
|
||||
@@ -154,10 +151,6 @@ export default ({ database, className }: Props) => {
|
||||
<p className={'text-sm'}>{database.username}</p>
|
||||
<p className={'mt-1 text-2xs text-neutral-500 uppercase select-none'}>Username</p>
|
||||
</div>
|
||||
<div className={'ml-8 text-center'}>
|
||||
<p className={'text-sm'}>{database.maxConnections}</p>
|
||||
<p className={'mt-1 text-2xs text-neutral-500 uppercase select-none'}>Max Connections</p>
|
||||
</div>
|
||||
<div className={'ml-8'}>
|
||||
<button className={'btn btn-sm btn-secondary mr-2'} onClick={() => setConnectionVisible(true)}>
|
||||
<FontAwesomeIcon icon={faEye} fixedWidth={true}/>
|
||||
|
||||
Reference in New Issue
Block a user