Commit 2df7c585 authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch 'eslint-fix' into 'master'

Fixes ESLint failure on master

Closes #6715

See merge request gitlab-org/gitlab-ee!6310
parents 52c9d4a8 606d2ceb
......@@ -35,7 +35,8 @@ export default () => {
requestRefreshPipelineGraph() {
// When an action is clicked
// (wether in the dropdown or in the main nodes, we refresh the big graph)
this.mediator.refreshPipeline()
this.mediator
.refreshPipeline()
.catch(() => Flash(__('An error occurred while making the request.')));
},
},
......@@ -122,8 +123,7 @@ export default () => {
sastContainerHelpPath,
} = datasetOptions;
const pipelineId = parseInt(datasetOptions.pipelineId, 10);
const canCreateIssue = datasetOptions.canCreateIssue;
const canCreateFeedback = datasetOptions.canCreateFeedback;
const { canCreateIssue, canCreateFeedback } = datasetOptions;
const store = createStore();
// Widget summary
......
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