Skip to content

Commit a287199

Browse files
committed
Match the valid database value on UI checks for OEM unlocking allowed
1 parent 1d734ba commit a287199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/monitoring.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ function userCountString(userCount) {
151151
}
152152

153153
function oemUnlockAllowedString(oemUnlockAllowed2) {
154-
if (oemUnlockAllowed2 >= 0) {
154+
if (oemUnlockAllowed2 == 0 || oemUnlockAllowed2 == 1) {
155155
return toYesNoString(oemUnlockAllowed2 > 0);
156156
} else if (oemUnlockAllowed2 == -2) {
157157
return "Invalid";

0 commit comments

Comments
 (0)