Commit 014457c4 by Erik Sundell

fix remove filter bug

parent 85a43456
......@@ -252,8 +252,10 @@ export class StackdriverFilterCtrl {
return [];
}
this.removeSegment.value = removeText;
return [...elements, this.removeSegment];
return [
...elements,
this.uiSegmentSrv.newSegment({ fake: true, value: removeText || this.defaultRemoveGroupByValue }),
];
}
async getGroupBys(segment) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment