[WEBUI] Fix for TH1 external probe in display routine (#2127)
Fix for TH1 external probe in display routine only actually showing when connected.
This commit is contained in:
1 parent
2cce06ed4e
commit
1b50c8ec02
1 file changed
+1
-1
+1
-1
@@ -2054,7 +2054,7 @@ void webUIPubPrint(const char* topicori, JsonObject& data) {
|
||||
}
|
||||
}
|
||||
|
||||
if (data.containsKey("extprobe")) {
|
||||
if (data.containsKey("extprobe") && data["extprobe"]) {
|
||||
property++;
|
||||
properties[property] = " ext. probe";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user