Merge branch 'firmware_mismatch' into dev_environment

This commit is contained in:
Carter 2026-06-17 16:19:53 -06:00
commit 376dcff7db

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;