Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix showing SensorIcon for GMP Scanner tasks #1548

Merged
merged 2 commits into from
Aug 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
logged in [#1508](https://github.com/greenbone/gsa/pull/1508)

### Fixed
- Fix showing SensorIcon for tasks [#1548](https://github.com/greenbone/gsa/pull/1548)
- Always show an identifier for results [#1543](https://github.com/greenbone/gsa/pull/1543)
- Don't crash Alerts listpage and trashcan when Alert data is missing [#1541](https://github.com/greenbone/gsa/pull/1541)
- Fix calculating the next date of schedules [#1539](https://github.com/greenbone/gsa/pull/1539)
Expand Down
2 changes: 1 addition & 1 deletion gsa/src/web/pages/tasks/row.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const Row = ({
{entity.alterable === 1 && (
<AlterableIcon size="small" title={_('Task is alterable')} />
)}
{isDefined(scanner) && scanner.type === GMP_SCANNER_TYPE && (
{isDefined(scanner) && scanner.scannerType === GMP_SCANNER_TYPE && (
<SensorIcon
size="small"
title={_('Task is configured to run on sensor {{name}}', {
Expand Down