diff --git a/pkg/networkmanager/bond.jsx b/pkg/networkmanager/bond.jsx index 206fb5397e9a..bdbf11c10948 100644 --- a/pkg/networkmanager/bond.jsx +++ b/pkg/networkmanager/bond.jsx @@ -132,7 +132,7 @@ export const BondDialog = ({ connection, dev, settings }) => { { } + isCreateDialog={!connection} > <> diff --git a/pkg/networkmanager/bridge.jsx b/pkg/networkmanager/bridge.jsx index 110134d5f752..9800585fd878 100644 --- a/pkg/networkmanager/bridge.jsx +++ b/pkg/networkmanager/bridge.jsx @@ -93,7 +93,8 @@ export const BridgeDialog = ({ connection, dev, settings }) => { <> diff --git a/pkg/networkmanager/dialogs-common.jsx b/pkg/networkmanager/dialogs-common.jsx index 06d6f1327374..519ec18cb264 100644 --- a/pkg/networkmanager/dialogs-common.jsx +++ b/pkg/networkmanager/dialogs-common.jsx @@ -141,7 +141,7 @@ export const Name = ({ idPrefix, iface, setIface }) => { ); }; -export const NetworkModal = ({ dialogError, help, idPrefix, title, onSubmit, children, isFormHorizontal }) => { +export const NetworkModal = ({ dialogError, help, idPrefix, title, onSubmit, children, isFormHorizontal, isCreateDialog }) => { const Dialogs = useDialogs(); return ( @@ -153,7 +153,7 @@ export const NetworkModal = ({ dialogError, help, idPrefix, title, onSubmit, chi footer={ <>