Skip to content

Commit

Permalink
chore: attend to PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagodallacqua-hpe committed Oct 31, 2024
1 parent 79c4bd0 commit b7187bc
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,9 @@ export class FilterFormStore {
col: Pick<V1ProjectColumn, 'location' | 'type' | 'column'>,
): void {
return this.#updateField(id, (form) => {
if (form.columnName === col.column) {
if (form.type === col.type && form.location === col.location) return form;
const isSameColumn = form.columnName === col.column && form.type === col.type;
if (isSameColumn && form.location === col.location) {
return form;
}
return {
...form,
Expand Down

0 comments on commit b7187bc

Please sign in to comment.