Added month select component.
This commit is contained in:
1 parent
6ef1f2e9f9
commit
c548267d91
16 files changed
+169
-71
No files matched your search
+3
-3
@@ -67,12 +67,12 @@ function getTimestampIntervalQuery(field: string): string {
|
||||
}
|
||||
}
|
||||
|
||||
function mapFilter(column, operator, name) {
|
||||
function mapFilter(column, operator, name, type = 'String') {
|
||||
switch (operator) {
|
||||
case OPERATORS.equals:
|
||||
return `${column} = {{${name}}}`;
|
||||
return `${column} = {${name}:${type}`;
|
||||
case OPERATORS.notEquals:
|
||||
return `${column} != {{${name}}}`;
|
||||
return `${column} != {${name}:${type}}`;
|
||||
default:
|
||||
return '';
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user