summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2018-01-24 21:04:55 -0600
committerClement Ho <ClemMakesApps@gmail.com>2018-01-24 21:04:55 -0600
commit2c96dd21e1587d23192e69898e75f538890aa8cc (patch)
tree417859cce878580dcb71417d69b6f6c7157ac3d4
parenta8badbe51b9904a34b49cc734c6371bf9c3e4e7e (diff)
downloadgitlab-ce-2c96dd21e1587d23192e69898e75f538890aa8cc.tar.gz
Remove unnecessary returnaxios-post-label-manager
-rw-r--r--app/assets/javascripts/label_manager.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/label_manager.js b/app/assets/javascripts/label_manager.js
index 5dd517c5af7..61b40f79db1 100644
--- a/app/assets/javascripts/label_manager.js
+++ b/app/assets/javascripts/label_manager.js
@@ -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() {