File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
src/components/Controller Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -424,11 +424,13 @@ const Controller = () => {
424424 closeModal = { ( ) => setFirmwarModalOpen ( false ) }
425425 className = "w-[40%]"
426426 >
427- { ( nightlyVersionFormat ( deviceVersion ) < 240114 &&
428- getVersionType ( deviceVersion ) == "nightly" ) ||
429- ( stableVersionFormat ( deviceVersion ) < 200 &&
430- getVersionType ( deviceVersion ) == "stable" ) ||
431- deviceVersion === "" ? (
427+ { deviceVersion === "" ||
428+ ( getVersionType ( deviceVersion ) === "nightly" &&
429+ nightlyVersionFormat ( deviceVersion ) < 240114 &&
430+ stableVersionFormat ( deviceVersion ) !== 2 ) ||
431+ ( getVersionType ( deviceVersion ) === "stable" &&
432+ stableVersionFormat ( deviceVersion ) < 200 &&
433+ stableVersionFormat ( deviceVersion ) !== 2 ) ? (
432434 < p >
433435 Sorry, your firmware version is too old to support this feature.
434436 Please manually update to the latest stable or nightly build!
You can’t perform that action at this time.
0 commit comments