Skip to content

Commit

Permalink
fix(posts): click on tags wont remove filters
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAkbal committed Jan 14, 2024
1 parent b350632 commit 6a6dd86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pages/posts/[domain].vue
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@
newTags = filteredSelectedTags
}
await reflectChangesInUrl({ page: null, tags: newTags, filters: null })
await reflectChangesInUrl({ page: null, tags: newTags })
}
/**
Expand All @@ -278,7 +278,7 @@
newTags.push(new Tag({ name: '-' + tag }))
await reflectChangesInUrl({ page: null, tags: newTags, filters: null })
await reflectChangesInUrl({ page: null, tags: newTags })
}
async function onLoadNextPostPage() {
Expand Down
4 changes: 2 additions & 2 deletions pages/premium/saved-posts/[domain].vue
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@
newTags = filteredSelectedTags
}
await reflectChangesInUrl({ page: null, tags: newTags, filters: null })
await reflectChangesInUrl({ page: null, tags: newTags })
}
/**
Expand All @@ -244,7 +244,7 @@
newTags.push(new Tag({ name: '-' + tag }))
await reflectChangesInUrl({ page: null, tags: newTags, filters: null })
await reflectChangesInUrl({ page: null, tags: newTags })
}
async function onLoadNextPostPage() {
Expand Down

0 comments on commit 6a6dd86

Please sign in to comment.