Skip to content

Commit

Permalink
Resolve bug in resource details filtering, where removing log filters…
Browse files Browse the repository at this point in the history
… would send invalid request. (Issue #5697, PR #5698)

# Description

* Short description here *

closes #5697

# Self Check:

Strike through any lines that are not applicable (`~~line~~`) then check the box

- [x] Attached issue to pull request
- [ ] Changelog entry
- [ ] Code is clear and sufficiently documented
- [ ] Sufficient test cases (reproduces the bug/tests the requested feature)
- [ ] Correct, in line with design
- [ ] End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )

https://github.com/inmanta/web-console/assets/113331659/79a5ee17-afd9-4252-a5aa-259a63a549da
  • Loading branch information
matborowczyk authored and inmantaci committed Apr 23, 2024
1 parent 85f80bf commit e8d5076
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions changelogs/unreleased/5697-resouce-details-filtering-bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
description: "Resolve bug in resource details filtering, where removing log filters would send invalid request."
issue-nr: 5697
change-type: patch
destination-branches: [master, iso7]
sections:
bugfix: "{{description}}"
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const LogLevelFilter: React.FC<Props> = ({ filter, setFilter }) => {
});

const onSelect = (selection) => {
update(selection === null ? undefined : selection);
update(selection === null || selection === "" ? undefined : selection);
};

const deleteChip = () =>
Expand Down

0 comments on commit e8d5076

Please sign in to comment.