From cb9a34800468a08bf5295aeb4d156820385019b1 Mon Sep 17 00:00:00 2001 From: Crystal Lai Date: Mon, 20 Jan 2020 09:11:51 +0100 Subject: [PATCH 1/2] use normalizeType to fix entitylink --- gsa/src/web/entity/link.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gsa/src/web/entity/link.js b/gsa/src/web/entity/link.js index 84c14da4a1..18ee2c7a82 100644 --- a/gsa/src/web/entity/link.js +++ b/gsa/src/web/entity/link.js @@ -27,11 +27,11 @@ import withCapabilities from '../utils/withCapabilities.js'; import DetailsLink from '../components/link/detailslink.js'; import Link from '../components/link/link.js'; -import {getEntityType} from 'gmp/utils/entitytype.js'; +import {getEntityType, normalizeType} from 'gmp/utils/entitytype.js'; const EntityLink = ({capabilities, entity, textOnly, ...props}) => { const {id, name, userCapabilities, deleted} = entity; - const type = getEntityType(entity); + const type = normalizeType(getEntityType(entity)); if (entity.isInTrash()) { return ( From 010e431d488f838208300f517e32f91bc1ac56a1 Mon Sep 17 00:00:00 2001 From: Crystal Lai Date: Mon, 20 Jan 2020 09:19:19 +0100 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 00eead96aa..4c1ef13ece 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -64,6 +64,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Lower memory usage when getting a report [#1858](https://github.com/greenbone/gvmd/pull/1858) ### Fixed +- Fix broken entity links for reportformat, scanconfig and portlist [#1934](https://github.com/greenbone/gsa/pull/1934) - Fixed removing levels filter keyword if all severity levels are unchecked [#1869](https://github.com/greenbone/gsa/pull/1869) - Fixed sorting of hosts in report details [#1860](https://github.com/greenbone/gsa/pull/1860) - Fixed displaying update indication at all report details tabs [#1849](https://github.com/greenbone/gsa/pull/1849)