Skip to content

Commit

Permalink
change: nvtpreference layout
Browse files Browse the repository at this point in the history
  • Loading branch information
daniele-mng committed Nov 28, 2024
1 parent 83c15d8 commit 2d417c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/web/pages/nvts/nvtpreference.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 All @@ -25,6 +24,7 @@ import Layout from 'web/components/layout/layout';

import TableData from 'web/components/table/data';
import TableRow from 'web/components/table/row';
import Column from 'web/components/layout/column';

const noop_convert = value => value;

Expand Down Expand Up @@ -74,7 +74,7 @@ class NvtPreference extends React.Component {
);
} else if (type === 'password') {
input = (
<Divider>
<Column>
<Checkbox
title={_('Replace existing password with')}
checked={checked}
Expand All @@ -85,7 +85,7 @@ class NvtPreference extends React.Component {
value={value}
onChange={this.onPreferenceChange}
/>
</Divider>
</Column>
);
} else if (type === 'file') {
input = (
Expand Down

0 comments on commit 2d417c2

Please sign in to comment.