Skip to content

Commit

Permalink
Hide bookmark icon when no filters are applied
Browse files Browse the repository at this point in the history
  • Loading branch information
sashankaryal committed Nov 14, 2022
1 parent 7abb102 commit 73ba406
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/packages/core/src/components/Actions/ActionsRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,6 @@ const Hidden = () => {

const SaveFilters = () => {
const hasFiltersValue = useRecoilValue(fos.hasFilters(false));
const extended = Object.keys(useRecoilValue(fos.extendedStages)).length > 0;
const loading = useRecoilValue(fos.savingFilters);
const onComplete = useRecoilCallback(({ set, reset }) => () => {
set(fos.savingFilters, false);
Expand All @@ -302,7 +301,7 @@ const SaveFilters = () => {
[]
);

return hasFiltersValue || extended ? (
return hasFiltersValue ? (
<ActionDiv>
<PillButton
open={false}
Expand Down

0 comments on commit 73ba406

Please sign in to comment.