Skip to content

Commit

Permalink
chore: better comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rylanharper committed Dec 3, 2024
1 parent bf19b50 commit 7ecf1c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/filter/filter-menu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const activeFilterCount = computed(() => {
return count;
});
// Options
// Define filter options
const colorOptions = computed(() => {
const colorOptionNames = ['Color', 'Colour'];
const allColors = new Set(
Expand Down Expand Up @@ -127,8 +127,8 @@ const setFilterOption = (filterName: string, filterValue: string) => {
};
const clearAllFilters = () => {
const excludedFilters = ['q', 'limit'];
const query = { ...route.query };
const excludedFilters = ['q', 'limit'];
Object.keys(query).forEach((key) => {
if (!excludedFilters.includes(key)) {
Expand Down

0 comments on commit 7ecf1c2

Please sign in to comment.