BigW Consortium Gitlab

Commit f995621f by Clement Ho Committed by Ian Baum

Merge branch 'fix-diff-flash' into 'master'

only show error if there is an error See merge request gitlab-org/gitlab-ce!17228
parent 962c7d4a
......@@ -88,6 +88,8 @@ export default class SingleFileDiff {
if (cb) cb();
})
.catch(createFlash(__('An error occurred while retrieving diff')));
.catch(() => {
createFlash(__('An error occurred while retrieving diff'));
});
}
}
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