got rid of warning signifier on firmware print
This commit is contained in:
parent
d9846ea02b
commit
0984ae0f37
1 changed files with 3 additions and 2 deletions
|
|
@ -26,9 +26,10 @@ export function getFirmwareVersionHelper(
|
||||||
helper.tooltip = "We don't know what version your device is, it may behave unexpectedly";
|
helper.tooltip = "We don't know what version your device is, it may behave unexpectedly";
|
||||||
helper.colour = oldFirmwareColour;
|
helper.colour = oldFirmwareColour;
|
||||||
} else if (version.startsWith("!")) {
|
} else if (version.startsWith("!")) {
|
||||||
helper.description = version;
|
const cleanVersion = version.substring(1);
|
||||||
|
helper.description = cleanVersion;
|
||||||
helper.icon = unknownFirmwareIcon;
|
helper.icon = unknownFirmwareIcon;
|
||||||
helper.tooltip = "This firmware version was reported by the device but is missing from the firmware list";
|
helper.tooltip = "Firmware " + cleanVersion + " was reported by the device but is missing from the firmware list";
|
||||||
helper.colour = unknownFirmwareColour;
|
helper.colour = unknownFirmwareColour;
|
||||||
} else if (available !== "" && version !== available) {
|
} else if (available !== "" && version !== available) {
|
||||||
helper.description = version;
|
helper.description = version;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue