DEV: Fix "no-setter-return" lint (#24585)

This commit is contained in:
Jarek Radosz
2023-11-28 10:49:49 +01:00
committed by GitHub
parent cfa7dcaf0a
commit 22210a9c15
9 changed files with 4 additions and 13 deletions

View File

@ -23,7 +23,7 @@ export default class WebhookEventChooser extends Component {
// add an association when not exists
if (value === this.eventTypeExists) {
return value;
return;
}
if (value) {
@ -33,7 +33,5 @@ export default class WebhookEventChooser extends Component {
eventTypes.filter((eventType) => eventType.name === this.args.type.name)
);
}
return value;
}
}