Merge pull request #1644 from Br0wnHammer/fix/fe/uptime-http
Fix: HTTPS monitors show HTTP on the table
This commit is contained in:
1 file changed
+3
-1
@@ -190,7 +190,9 @@ const UptimeDataTable = (props) => {
|
|||||||
id: "type",
|
id: "type",
|
||||||
content: "Type",
|
content: "Type",
|
||||||
render: (row) => (
|
render: (row) => (
|
||||||
<span style={{ textTransform: "uppercase" }}>{row.monitor.type}</span>
|
<span style={{ textTransform: "uppercase" }}>
|
||||||
|
{row.monitor.type === "http" ? "HTTP(s)" : row.monitor.type}
|
||||||
|
</span>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user