Skip to content

Commit

Permalink
fix: remove unsupported Gitcoin Passport stamps (#1083)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sekhmet authored Jan 6, 2025
1 parent addebca commit 84b8a55
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apps/ui/src/components/Modal/SelectValidation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,11 @@ function handleSelect(validationDetails: ValidationDetails) {
form.value.scoreThreshold ??= 0;
form.value.operator ??= 'NONE';
form.value.stamps ??= [];
// Remove unsupported options
form.value.stamps = definition.value.properties.stamps.options
.filter(option => form.value.stamps.includes(option.id))
.map(option => option.id);
}
}
Expand Down

0 comments on commit 84b8a55

Please sign in to comment.