1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2025-08-03 20:13:28 +02:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Aleksandr Gumroian
aa2eecec50 Add encryption property to guest WiFi settings in tests 2025-02-21 16:48:22 +01:00
Aleksandr Gumroian
e4f8572a69 Make thead of RichTable light 2025-02-21 16:41:37 +01:00
3 changed files with 4 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2019-2024 CZ.NIC z.s.p.o. (https://www.nic.cz/)
* Copyright (C) 2019-2025 CZ.NIC z.s.p.o. (https://www.nic.cz/)
*
* This is free software, licensed under the GNU General Public License v3.
* See /LICENSE for more information.
@@ -32,7 +32,7 @@ function RichTableHeader({ table, flexRender }) {
};
return (
<thead className="thead-light">
<thead className="table-light">
{table.getHeaderGroups().map((headerGroup) => (
<tr key={headerGroup.id} role="row">
{headerGroup.headers.map((header) => (

View File

@@ -181,6 +181,7 @@ describe("<WiFiSettings/>", () => {
guest_wifi: {
SSID: "TestGuestSSID",
enabled: true,
encryption: "WPA2",
password: "test_password",
},
hidden: false,

View File

@@ -223,6 +223,7 @@ export function wifiSettingsFixture() {
guest_wifi: {
SSID: "TestGuestSSID",
enabled: false,
encryption: "WPA2",
password: "",
},
hidden: false,