Added month select component.
This commit is contained in:
@@ -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