Skip to content

Commit

Permalink
feat: swap availability filter button text
Browse files Browse the repository at this point in the history
  • Loading branch information
koya0 committed Dec 26, 2024
1 parent cef819b commit 1c74229
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/home/sorting/sorting-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,12 +174,12 @@ export class SortingManager {
private _generateFilterAvailableIssuesButton() {
const input = document.createElement("input");
input.type = "button";
input.value = "All Issues";
input.value = "Unassigned";
input.id = `filter-availability-${this._instanceId}`;

input.addEventListener("click", () => {
this._filterAvailableIssues = !this._filterAvailableIssues;
input.value = this._filterAvailableIssues ? "All Issues" : "Unassigned";
input.value = this._filterAvailableIssues ? "Unassigned" : "All Issues";

try {
// Clear search when applying the filter
Expand Down

0 comments on commit 1c74229

Please sign in to comment.