Commit 16697943 authored by Filipa Lacerda's avatar Filipa Lacerda

Fix broken path to field

parent b4ea7144
......@@ -90,7 +90,7 @@ document.addEventListener('DOMContentLoaded', () => {
.then(() => {
// update the badge
const badge = document.querySelector('.js-sast-counter');
badge.textContent = mediator.store.state.sast.securityReports.newIssues.length;
badge.textContent = mediator.store.state.securityReports.sast.newIssues.length;
badge.classList.remove('hidden');
})
.catch(() => {
......
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