mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-13 16:27:33 +00:00
feat: delete filters
This commit is contained in:
parent
eba9dcdae1
commit
746a71ac10
@ -226,6 +226,7 @@ limitations under the License. -->
|
|||||||
standard?: unknown;
|
standard?: unknown;
|
||||||
label?: string;
|
label?: string;
|
||||||
value?: string;
|
value?: string;
|
||||||
|
filters?: unknown;
|
||||||
})[],
|
})[],
|
||||||
) {
|
) {
|
||||||
for (const child of children || []) {
|
for (const child of children || []) {
|
||||||
@ -235,6 +236,7 @@ limitations under the License. -->
|
|||||||
delete child.id;
|
delete child.id;
|
||||||
delete child.label;
|
delete child.label;
|
||||||
delete child.value;
|
delete child.value;
|
||||||
|
delete child.filters;
|
||||||
if (isEmptyObject(child.graph)) {
|
if (isEmptyObject(child.graph)) {
|
||||||
delete child.graph;
|
delete child.graph;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user