From defc363f01a6674d574c9b95ede9441257319087 Mon Sep 17 00:00:00 2001 From: Aleksandr Gumroian Date: Mon, 14 Sep 2020 12:08:53 +0200 Subject: [PATCH 1/6] Add inline option to Wi-Fi's RadioSet --- src/common/WiFiSettings/WiFiForm.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/WiFiSettings/WiFiForm.js b/src/common/WiFiSettings/WiFiForm.js index 63bfd47..b686c1c 100644 --- a/src/common/WiFiSettings/WiFiForm.js +++ b/src/common/WiFiSettings/WiFiForm.js @@ -157,6 +157,7 @@ function DeviceForm({ choices={getHwmodeChoices(formData)} value={formData.hwmode} helpText={HELP_TEXTS.hwmode} + inline onChange={setFormValue((value) => ({ devices: { [deviceIndex]: { From 1c986519f6189ca17f2b854782056331f517f4cc Mon Sep 17 00:00:00 2001 From: Aleksandr Gumroian Date: Mon, 14 Sep 2020 12:08:53 +0200 Subject: [PATCH 2/6] Fix Alert's dismissible class condition --- src/bootstrap/Alert.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/bootstrap/Alert.js b/src/bootstrap/Alert.js index f460931..d0f3acc 100644 --- a/src/bootstrap/Alert.js +++ b/src/bootstrap/Alert.js @@ -37,7 +37,11 @@ Alert.defaultProps = { export function Alert({ type, onDismiss, children }) { return ( -
+
{onDismiss ? (