Fix: Do not throw error if not flags are allowed.
This commit is contained in:
parent
e8f4931d29
commit
2201a90278
2
brewman/static/scripts/angular_service.js
vendored
2
brewman/static/scripts/angular_service.js
vendored
@ -284,7 +284,7 @@ overlord_service.factory('Tokenizer', ['$filter', function ($filter) {
|
||||
}
|
||||
if (key !== '' && value !== '' && key in comparator) {
|
||||
matches.push(pushObject(comparator[key], value));
|
||||
} else if (key !== '' && key in searchInfo.flags) {
|
||||
} else if (key !== '' && !angular.isUndefined(searchInfo.flags) && key in searchInfo.flags) {
|
||||
flags[key] = value;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user