Skip to content

Commit

Permalink
Merge pull request #26 from adobecom/mwpw-154747-clear-all-resets-date
Browse files Browse the repository at this point in the history
Mwpw 154747 clear all resets date
  • Loading branch information
draganatrajkovic authored Jul 24, 2024
2 parents dbea01d + 01d102e commit fd1c7aa
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
3 changes: 1 addition & 2 deletions edsdme/components/PartnerCards.js
Original file line number Diff line number Diff line change
Expand Up @@ -511,11 +511,10 @@ export default class PartnerCards extends LitElement {
filter.tags.forEach((tag) => tag.checked = false);
this.urlSearchParams.delete(filter.key);
});
this.urlSearchParams.delete('filters');
this.additionalResetActions();
this.paginationCounter = 1;
this.handleActions();
this.handleUrlSearchParams();
if (this.blockData.filters.length) this.handleUrlSearchParams();
}

// eslint-disable-next-line class-methods-use-this
Expand Down
4 changes: 2 additions & 2 deletions edsdme/components/PartnerCardsStyles.js
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ export const partnerCardsStyles = css`
height: 18px;
margin-right: 8px;
background-color: #fff;
background: no-repeat url(/eds/img/icons/filters.svg) 0 0;
background: no-repeat url(/edsdme/img/icons/filters.svg) 0 0;
}
.partner-cards-header .partner-cards-sort-wrapper .filters-btn-mobile-title {
Expand Down Expand Up @@ -586,7 +586,7 @@ export const partnerCardsStyles = css`
line-height: 0;
border: none;
border-radius: 50%;
background: transparent url(/eds/img/icons/back.svg) no-repeat 50% 50%;
background: transparent url(/edsdme/img/icons/back.svg) no-repeat 50% 50%;
outline: 0;
cursor: pointer;
}
Expand Down
3 changes: 3 additions & 0 deletions edsdme/img/icons/back.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions edsdme/img/icons/filters.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fd1c7aa

Please sign in to comment.