mirror of
https://github.com/prymitive/karma
synced 2026-05-09 03:36:44 +00:00
fix(ui): only set custom colors on filters that are applied
This commit is contained in:
@@ -66,7 +66,7 @@ const FilterInputLabel = observer(
|
||||
return (
|
||||
<span
|
||||
className={`${rootClasses} d-inline-flex flex-row`}
|
||||
style={cs.style}
|
||||
style={filter.applied ? cs.style : {}}
|
||||
>
|
||||
{filter.isValid ? (
|
||||
filter.applied ? (
|
||||
@@ -98,7 +98,7 @@ const FilterInputLabel = observer(
|
||||
<button
|
||||
type="button"
|
||||
className="close ml-1 align-middle"
|
||||
style={cs.style}
|
||||
style={filter.applied ? cs.style : {}}
|
||||
onClick={() => alertStore.filters.removeFilter(filter.raw)}
|
||||
>
|
||||
<span
|
||||
|
||||
Reference in New Issue
Block a user