Skip to content

Commit

Permalink
fix(springboot-plugin) Fix clearAllFilters behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
mmelko committed Aug 30, 2024
1 parent 8c6f3c8 commit c659082
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions packages/hawtio/src/plugins/springboot/Loggers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export const Loggers: React.FunctionComponent = () => {
))

const tableToolbar = (
<Toolbar>
<Toolbar clearAllFilters={clearFilters}>
<ToolbarContent>
<ToolbarGroup>
<Dropdown
Expand All @@ -191,7 +191,6 @@ export const Loggers: React.FunctionComponent = () => {
<ToolbarFilter
chips={filters}
deleteChip={(_e, filter) => onDeleteFilter(filter as string)}
deleteChipGroup={clearFilters}
categoryName='Filters'
>
<SearchInput
Expand Down
3 changes: 1 addition & 2 deletions packages/hawtio/src/plugins/springboot/TraceView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export const TraceView: React.FunctionComponent = () => {
)

const TableToolbar = (
<Toolbar>
<Toolbar clearAllFilters={clearFilters}>
<ToolbarContent>
<ToolbarItem>
<Dropdown
Expand Down Expand Up @@ -244,7 +244,6 @@ export const TraceView: React.FunctionComponent = () => {
<ToolbarFilter
chips={filters}
deleteChip={(_e, filter) => onDeleteFilter(filter as string)}
deleteChipGroup={clearFilters}
categoryName='Filters'
>
<SearchInput
Expand Down

0 comments on commit c659082

Please sign in to comment.