Skip to content

Commit

Permalink
Apply overrides by default
Browse files Browse the repository at this point in the history
Change ordering of of options to have the default at first place
  • Loading branch information
swaterkamp committed Dec 10, 2018
1 parent cd22efe commit 738835b
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 738835b

Please sign in to comment.