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) 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 (