Skip to content

Commit

Permalink
chore: reset filters while going from hosts list to host details (#7150)
Browse files Browse the repository at this point in the history
  • Loading branch information
amlannandy authored Feb 19, 2025
1 parent 3d85fd8 commit 1925b6b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ function HostMetricTraces({
aggregateAttribute: {
...currentQuery.builder.queryData[0].aggregateAttribute,
},
filters: {
items: [],
op: 'AND',
},
},
],
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ function HostMetricLogsDetailedView({
aggregateAttribute: {
...currentQuery.builder.queryData[0].aggregateAttribute,
},
filters: {
items: [],
op: 'AND',
},
},
],
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 1925b6b

Please # to comment.