got rid of warning signifier on firmware print

This commit is contained in:
Carter 2026-06-17 16:19:35 -06:00
parent d9846ea02b
commit 0984ae0f37

View file

@ -26,9 +26,10 @@ export function getFirmwareVersionHelper(
helper.tooltip = "We don't know what version your device is, it may behave unexpectedly";
helper.colour = oldFirmwareColour;
} else if (version.startsWith("!")) {
helper.description = version;
const cleanVersion = version.substring(1);
helper.description = cleanVersion;
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;
} else if (available !== "" && version !== available) {
helper.description = version;