Remove from end user
Removed max connections from the end user view.
This commit is contained in:
parent
e3303f7a60
commit
56a0989176
2 changed files with 0 additions and 9 deletions
|
@ -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}/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue