Remove from end user

Removed max connections from the end user view.
This commit is contained in:
Charles Morgan 2020-04-24 10:17:31 -04:00
parent e3303f7a60
commit 56a0989176
2 changed files with 0 additions and 9 deletions

View file

@ -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}/>