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:
Zhang Hua 2018-05-03 13:37:37 -07:00 коммит произвёл Parvez
Родитель 41b97ffaca
Коммит eb9ceb34fb
2 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -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 {