From 5dd170fc78b89af8a886b2d7639ccb2d48c16e64 Mon Sep 17 00:00:00 2001 From: Pierre-Gilles Leymarie Date: Mon, 25 Mar 2024 10:17:14 +0100 Subject: [PATCH] MQTT: Fix setup page on Firefox (#2046) --- front/src/routes/integration/all/mqtt/setup-page/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/front/src/routes/integration/all/mqtt/setup-page/index.js b/front/src/routes/integration/all/mqtt/setup-page/index.js index a7a210c5c6..e172f82faa 100644 --- a/front/src/routes/integration/all/mqtt/setup-page/index.js +++ b/front/src/routes/integration/all/mqtt/setup-page/index.js @@ -45,7 +45,8 @@ class MqttNodePage extends Component { this.setState(config); }; - saveConfiguration = async () => { + saveConfiguration = async e => { + e.preventDefault(); this.setState({ connectMqttStatus: RequestStatus.Getting, mqttConnected: false,