Skip to content

Commit

Permalink
Merge pull request #2927 from greenbone/mergify/bp/gsa-21.10/pr-2924
Browse files Browse the repository at this point in the history
Fix "Pre-select greenbone sensor as default scanner type" (backport #2924)
  • Loading branch information
swaterkamp authored May 18, 2021
2 parents bf08413 + 31c7376 commit 18e9eb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Added @testing-library/user-event as a dev-dependency [#2891](https://github.com/greenbone/gsa/pull/2891)

### Changed
- Use greenbone sensor as default scanner type when opening the dialog if available [#2867](https://github.com/greenbone/gsa/pull/2867)
- Use greenbone sensor as default scanner type when opening the dialog if available [#2867](https://github.com/greenbone/gsa/pull/2867), [#2924](https://github.com/greenbone/gsa/pull/2924)

### Fixed
- Fixed number-only names within schedules/dialog [#2914](https://github.com/greenbone/gsa/pull/2914)
Expand Down
4 changes: 1 addition & 3 deletions gsa/src/web/pages/scanners/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ import {connect} from 'react-redux';

import _ from 'gmp/locale';

import {OSP_SCANNER_TYPE} from 'gmp/models/scanner';

import {isDefined} from 'gmp/utils/identity';
import {shorten} from 'gmp/utils/string';
import {hasId} from 'gmp/utils/id';
Expand Down Expand Up @@ -119,7 +117,7 @@ class ScannerComponent extends React.Component {
scanner: undefined,
scannerDialogVisible: true,
title: undefined,
type: OSP_SCANNER_TYPE,
type: undefined,
which_cert: undefined,
}),
);
Expand Down

0 comments on commit 18e9eb5

Please sign in to comment.