Commit 2c96dd21 authored by Clement Ho's avatar Clement Ho

Remove unnecessary return

parent a8badbe5
......@@ -100,7 +100,7 @@ export default class LabelManager {
rollbackLabelPosition($label, originalAction) {
const action = originalAction === 'remove' ? 'add' : 'remove';
this.toggleLabelPriority($label, action, false);
return flash(this.errorMessage);
flash(this.errorMessage);
}
getSortedLabelsIds() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment