chore: reset filters while going from hosts list to host details (#7150)

This commit is contained in:
Amlan Kumar Nandy 2025-02-19 14:58:04 +05:30 committed by GitHub
parent 3d85fd831a
commit 1925b6b4cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 12 additions and 1 deletions

View File

@ -67,6 +67,10 @@ function HostMetricTraces({
aggregateAttribute: {
...currentQuery.builder.queryData[0].aggregateAttribute,
},
filters: {
items: [],
op: 'AND',
},
},
],
},

View File

@ -50,6 +50,10 @@ function HostMetricLogsDetailedView({
aggregateAttribute: {
...currentQuery.builder.queryData[0].aggregateAttribute,
},
filters: {
items: [],
op: 'AND',
},
},
],
},

View File

@ -55,11 +55,14 @@
.hosts-list-content {
display: flex;
flex-direction: row;
align-items: stretch;
height: calc(100vh - 110px);
.hosts-quick-filters-container {
width: 280px;
min-width: 280px;
border-right: 1px solid var(--bg-slate-400);
height: 100%;
.hosts-quick-filters-container-header {
padding: 8px;
@ -193,7 +196,7 @@
.ant-pagination {
position: fixed;
bottom: 0;
width: calc(100% - 64px);
width: calc(100% - 364px);
background: var(--bg-ink-500);
padding: 16px;
margin: 0;