Skip to content

Commit

Permalink
Merge pull request #2924 from swaterkamp/defaultScannertype
Browse files Browse the repository at this point in the history
Fix "Pre-select greenbone sensor as default scanner type"
  • Loading branch information
bjoernricks committed May 18, 2021
2 parents a8e2af8 + a2ec2d4 commit fa7aae3
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 @@ -10,7 +10,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 fa7aae3

Please sign in to comment.