Skip to content

Commit

Permalink
Add missing Scanners resource type to tags component
Browse files Browse the repository at this point in the history
  • Loading branch information
swaterkamp committed Jun 4, 2018
1 parent 5036f29 commit 83a0828
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ng/src/web/pages/tags/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ class TagComponent extends React.Component {
if (capabilities.mayAccess('configs')) {
resource_types.push(['config', _('Scan Config')]);
}
if (capabilities.mayAccess('scanners')) {
resource_types.push(['scanner', _('Scanner')]);
}
if (capabilities.mayAccess('schedules')) {
resource_types.push(['schedule', _('Schedule')]);
}
Expand Down

0 comments on commit 83a0828

Please sign in to comment.