From 2c8fd55aa01b60a9e86647dafccea471e4802f29 Mon Sep 17 00:00:00 2001 From: Sarah Diedrich Date: Wed, 17 Apr 2019 11:17:35 +0200 Subject: [PATCH 1/2] fix port ranges from file radio button --- gsa/src/web/pages/portlists/dialog.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gsa/src/web/pages/portlists/dialog.js b/gsa/src/web/pages/portlists/dialog.js index be466e7461..83dbbc715e 100644 --- a/gsa/src/web/pages/portlists/dialog.js +++ b/gsa/src/web/pages/portlists/dialog.js @@ -20,7 +20,7 @@ import React from 'react'; import _ from 'gmp/locale'; -import {NO_VALUE, YES_VALUE} from 'gmp/parser'; +import {NO_VALUE, YES_VALUE, parseYesNo} from 'gmp/parser'; import {isDefined} from 'gmp/utils/identity'; @@ -119,13 +119,13 @@ const PortListsDialog = ({ name="from_file" value={NOT_FROM_FILE} onChange={onValueChange} - checked={from_file !== FROM_FILE} + checked={parseYesNo(state.from_file) !== FROM_FILE} /> @@ -136,7 +136,7 @@ const PortListsDialog = ({ name="from_file" value={FROM_FILE} onChange={onValueChange} - checked={from_file === FROM_FILE} + checked={parseYesNo(state.from_file) === FROM_FILE} /> From 0cf886c4ef210da48668bc20d329c7100e98fdcd Mon Sep 17 00:00:00 2001 From: Sarah Diedrich Date: Wed, 17 Apr 2019 11:24:34 +0200 Subject: [PATCH 2/2] update changelog --- CHANGES.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 33377d888e..ccc0711071 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -7,7 +7,8 @@ $ git clone https://github.com/greenbone/gsa.git $ cd gsa && git checkout gsa-8.0 && git log ## gsa 8.0.1 (unreleased) - + + * Fix port ranges from file radio button #1291 * Update dialog for Task Wizard, Advanced Task Wizard and Modify Task Wizard #1287 * Add errordialog to fix missing error messages in trashcan #1286 * Display current result, comparable result and diff between results for delta