Commit de9ace73 by Erik Sundell

fix remove filter bug

parent d632be84
...@@ -252,8 +252,10 @@ export class StackdriverFilterCtrl { ...@@ -252,8 +252,10 @@ export class StackdriverFilterCtrl {
return []; return [];
} }
this.removeSegment.value = removeText; return [
return [...elements, this.removeSegment]; ...elements,
this.uiSegmentSrv.newSegment({ fake: true, value: removeText || this.defaultRemoveGroupByValue }),
];
} }
async getGroupBys(segment) { 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