Skip to content

Commit

Permalink
Merge pull request #1934 from saberlynx/broken-links
Browse files Browse the repository at this point in the history
Fix broken entity links for reportformat, scanconfig and portlist
  • Loading branch information
bjoernricks authored Jan 20, 2020
2 parents 070e2cb + 010e431 commit 5cd401f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions gsa/src/web/entity/link.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit 5cd401f

Please sign in to comment.