Skip to content

Commit

Permalink
fix(home): clear all filters [EE-3912] (#7465)
Browse files Browse the repository at this point in the history
  • Loading branch information
chiptus authored Aug 11, 2022
1 parent ee1ee63 commit c981e6f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 4 additions & 3 deletions app/portainer/home/EnvironmentList/EnvironmentList.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,11 @@
}

.clear-button {
display: inline-block;
white-space: nowrap;

border: 0px;
padding: 10px;
height: 60px;
padding: 5px 10px;

background: transparent;
}

Expand Down
2 changes: 2 additions & 0 deletions app/portainer/home/EnvironmentList/EnvironmentList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,8 @@ export function EnvironmentList({ onClickItem, onRefresh }: Props) {
setTagFilter([]);
setGroupState([]);
setGroupFilter([]);
setAgentVersions([]);
setConnectionTypes([]);
}

function sortOnchange(filterOptions: Filter) {
Expand Down

0 comments on commit c981e6f

Please sign in to comment.