Skip to content

Commit

Permalink
Merge pull request #1084 from swaterkamp/RFComposer
Browse files Browse the repository at this point in the history
Apply overrides by default
  • Loading branch information
bjoernricks authored Dec 10, 2018
2 parents cd22efe + 738835b commit d1fefb4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions gsa/src/web/components/dialog/composercontent.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import Layout from 'web/components/layout/layout';
import Theme from 'web/utils/theme';

export const COMPOSER_CONTENT_DEFAULTS = {
applyOverrides: NO_VALUE,
applyOverrides: YES_VALUE,
includeNotes: YES_VALUE,
includeOverrides: YES_VALUE,
};
Expand Down Expand Up @@ -74,16 +74,16 @@ const ComposerContent = ({
<Divider>
<Radio
name="applyOverrides"
value={NO_VALUE}
checked={!parseYesNo(applyOverrides)}
title={_('Original severity')}
value={YES_VALUE}
checked={parseYesNo(applyOverrides)}
title={_('With overrides applied')}
onChange={onValueChange}
/>
<Radio
name="applyOverrides"
value={YES_VALUE}
checked={parseYesNo(applyOverrides)}
title={_('With overrides applied')}
value={NO_VALUE}
checked={!parseYesNo(applyOverrides)}
title={_('Original severity')}
onChange={onValueChange}
/>
</Divider>
Expand Down

0 comments on commit d1fefb4

Please sign in to comment.