Skip to content

Commit

Permalink
Merge pull request #1921 from saberlynx/resource-orphan
Browse files Browse the repository at this point in the history
Fix showing resource as orphaned when it's not
  • Loading branch information
bjoernricks authored Jan 14, 2020
2 parents ff857b5 + f5bb1ff commit 8af1523
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Lower memory usage when getting a report [#1857](https://github.com/greenbone/gvmd/pull/1857)

### Fixed
- Fix showing resource as orphaned when it's not [#1921](https://github.com/greenbone/gsa/pull/1921)
- Fix override new severity being invalid [#1909](https://github.com/greenbone/gsa/pull/1909)
- Fixed missing usage_type in getAggregates commands for tasks [#1906](https://github.com/greenbone/gsa/pull/1906)
- Fixed undefined policy in create audit dialog [#1847](https://github.com/greenbone/gsa/pull/1847)
Expand Down
2 changes: 1 addition & 1 deletion gsa/src/web/entity/link.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const EntityLink = ({capabilities, entity, textOnly, ...props}) => {
);
}

if (isDefined(deleted) && deleted !== '0') {
if (isDefined(deleted) && deleted !== 0) {
// FIXME is this still used?
return <b>{_('Orphan')}</b>;
}
Expand Down

0 comments on commit 8af1523

Please sign in to comment.