From 83a0828ddb9527b88d1ec39dc1151576418ede0f Mon Sep 17 00:00:00 2001 From: Steffen Waterkamp Date: Fri, 25 May 2018 17:04:44 +0200 Subject: [PATCH] Add missing Scanners resource type to tags component --- ng/src/web/pages/tags/component.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ng/src/web/pages/tags/component.js b/ng/src/web/pages/tags/component.js index 6e9df68779..35554db364 100644 --- a/ng/src/web/pages/tags/component.js +++ b/ng/src/web/pages/tags/component.js @@ -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')]); }