Commit ef51434a authored by Filipa Lacerda's avatar Filipa Lacerda

Render expand button for sast:container

parent 82e2c2e7
...@@ -104,7 +104,8 @@ ...@@ -104,7 +104,8 @@
hasIssues() { hasIssues() {
return this.unresolvedIssues.length || return this.unresolvedIssues.length ||
this.resolvedIssues.length || this.resolvedIssues.length ||
this.allIssues.length; this.allIssues.length ||
this.neutralIssues.length;
}, },
}, },
......
...@@ -444,7 +444,7 @@ describe('ee merge request widget options', () => { ...@@ -444,7 +444,7 @@ describe('ee merge request widget options', () => {
vm.$el.querySelector('.js-docker-widget .js-code-text').textContent.trim(), vm.$el.querySelector('.js-docker-widget .js-code-text').textContent.trim(),
).toEqual('SAST:container found 3 vulnerabilities, of which 1 is approved'); ).toEqual('SAST:container found 3 vulnerabilities, of which 1 is approved');
vm.$el.querySelector('.js-docker-widget button').click(); vm.$el.querySelector('.js-docker-widget .js-collapse-btn').click();
Vue.nextTick(() => { Vue.nextTick(() => {
expect( expect(
......
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