diff --git a/resources/scripts/components/server/databases/DatabaseRow.tsx b/resources/scripts/components/server/databases/DatabaseRow.tsx index 48b88c551..3cad11755 100644 --- a/resources/scripts/components/server/databases/DatabaseRow.tsx +++ b/resources/scripts/components/server/databases/DatabaseRow.tsx @@ -24,6 +24,7 @@ interface Props { export default ({ database, className, onDelete }: Props) => { const [visible, setVisible] = useState(false); + const [connectionVisible, setConnectionVisible] = useState(false); const { addFlash, clearFlashes } = useStoreActions((actions: Actions) => actions.flashes); const server = ServerContext.useStoreState(state => state.server.data!); @@ -102,6 +103,27 @@ export default ({ database, className, onDelete }: Props) => { ) } + setConnectionVisible(false)}> +

Database connection details

+
+ + +
+
+ + +
+
+ +
+
@@ -114,8 +136,9 @@ export default ({ database, className, onDelete }: Props) => {

{database.connectionString}

-

Connections - From:

+

+ Connections From: +

{database.allowConnectionsFrom}

@@ -123,7 +146,7 @@ export default ({ database, className, onDelete }: Props) => {

{database.username}

-