Commit 43a6a65f by Torkel Ödegaard

fix: fixed issue with metric segment introduced in graphite tags query editor PR

parent 5dd95825
...@@ -48,8 +48,11 @@ function (_, $, coreModule) { ...@@ -48,8 +48,11 @@ function (_, $, coreModule) {
segment.html = selected.html || selected.value; segment.html = selected.html || selected.value;
segment.fake = false; segment.fake = false;
segment.expandable = selected.expandable; segment.expandable = selected.expandable;
if (selected.type) {
segment.type = selected.type; segment.type = selected.type;
} }
}
else if (segment.custom !== 'false') { else if (segment.custom !== 'false') {
segment.value = value; segment.value = value;
segment.html = $sce.trustAsHtml(value); segment.html = $sce.trustAsHtml(value);
......
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