Skip to content

Commit aa73f08

Browse files
fix: recover create a new connection action
1 parent f2de2dc commit aa73f08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • config-ui/src/plugins/components/connection-list

config-ui/src/plugins/components/connection-list/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export const ConnectionList = ({ plugin, onCreate }: Props) => {
113113
dataSource={connections}
114114
pagination={false}
115115
/>
116-
<Button style={{ marginTop: 16 }} type="primary" icon={<PlusOutlined />} onClick={onCreate}>
116+
<Button style={{ marginTop: 16 }} type="primary" icon={<PlusOutlined />} onClick={() => onCreate()}>
117117
Create a New Connection
118118
</Button>
119119
<Modal

0 commit comments

Comments
 (0)