Skip to content

Commit

Permalink
fix: checkbox labels in delta filter dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
daniele-mng committed Nov 28, 2024
1 parent 713e088 commit 635468d
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions src/web/pages/reports/deltaresultsfiltergroup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/


import React from 'react';

import _ from 'gmp/locale';
Expand Down Expand Up @@ -56,30 +55,29 @@ class DeltaStatesFilterGroup extends React.Component {
checked={delta_states.includes('s')}
name="s"
onChange={this.handleDeltaStatesChange}
>
{_('Same')}
</Checkbox>
title={_('Same')}
/>

<Checkbox
checked={delta_states.includes('n')}
name="n"
onChange={this.handleDeltaStatesChange}
>
{_('New')}
</Checkbox>
title={_('New')}
/>

<Checkbox
checked={delta_states.includes('g')}
name="g"
onChange={this.handleDeltaStatesChange}
>
{_('Gone')}
</Checkbox>
title={_('Gone')}
/>

<Checkbox
checked={delta_states.includes('c')}
name="c"
onChange={this.handleDeltaStatesChange}
>
{_('Changed')}
</Checkbox>
title={_('Changed')}
/>
</Divider>
</FormGroup>
);
Expand Down

0 comments on commit 635468d

Please sign in to comment.