Remove condition operators which are not supported by backend api (#989)
* Remove operators '[] in', '[ starts with' and '] ends with' from frontend since backend doesn't support them for now.
This commit is contained in:
Родитель
41b97ffaca
Коммит
eb9ceb34fb
|
@ -82,9 +82,6 @@
|
|||
"LT": "< Less than",
|
||||
"GE": ">= Greater than/equal",
|
||||
"LE": "<= Less than/equal",
|
||||
"[]": "[] In",
|
||||
"[": "[ Starts with",
|
||||
"]": "] Ends with",
|
||||
"Number": "Number",
|
||||
"Text": "Text"
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ const newCondition = () => ({
|
|||
key: conditionKey++ // Used by react to track the rendered elements
|
||||
});
|
||||
|
||||
const operators = ['EQ', 'GT', 'LT', 'GE', 'LE', '[]', '[', ']'];
|
||||
const operators = ['EQ', 'GT', 'LT', 'GE', 'LE'];
|
||||
const valueTypes = ['Number', 'Text'];
|
||||
|
||||
class DeviceGroupForm extends LinkedComponent {
|
||||
|
|
Загрузка…
Ссылка в новой задаче