Skip to content

Commit

Permalink
Merge pull request #4203 from greenbone/remove-delta-report-version-f…
Browse files Browse the repository at this point in the history
…rom-user-settings

Remove: Remove delta reports version from user settings
  • Loading branch information
a-h-abdelsalam authored Nov 14, 2024
2 parents df141ba + a47182b commit 72f6060
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion public/locales/gsa-de.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,6 @@
"Delete {{entity}}": "{{entity}} löschen",
"Delta": "Delta",
"Delta Report": "Delta-Bericht",
"Delta Reports Version (immutable)": "Delta-Bericht-Version (unveränderlich)",
"Delta Results": "Delta-Ergebnisse",
"Deny all": "Alle verweigern",
"Deny all and allow": "Verweigere alle und erlaube",
Expand Down
12 changes: 0 additions & 12 deletions src/web/pages/usersettings/usersettingspage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,6 @@ class UserSettings extends React.Component {
certBundFilter,
dfnCertFilter,
autoCacheRebuild = {},
deltaReportsVersion,
} = this.props;

alertsFilter = hasValue(alertsFilter) ? alertsFilter : {};
Expand Down Expand Up @@ -487,12 +486,6 @@ class UserSettings extends React.Component {
: ''}
</TableData>
</TableRow>
<TableRow>
<TableData>
{_('Delta Reports Version (immutable)')}
</TableData>
<TableData>{deltaReportsVersion}</TableData>
</TableRow>
</TableBody>
</Table>
</TabPanel>
Expand Down Expand Up @@ -859,7 +852,6 @@ UserSettings.propTypes = {
defaultSnmpCredential: PropTypes.object,
defaultSshCredential: PropTypes.object,
defaultTarget: PropTypes.object,
deltaReportsVersion: PropTypes.numberOrNumberString,
detailsExportFileName: PropTypes.object,
dfnCertFilter: PropTypes.object,
dynamicSeverity: PropTypes.object,
Expand Down Expand Up @@ -1036,9 +1028,6 @@ const mapStateToProps = rootState => {
const certBundFilter = userDefaultFilterSelector.getFilter('certbund');
const dfnCertFilter = userDefaultFilterSelector.getFilter('dfncert');
const nvtFilter = userDefaultFilterSelector.getFilter('nvt');
const deltaReportsVersion = userDefaultsSelector.getValueByName(
'deltareportsversion',
);

let scanconfigs = scanConfigsSel.getEntities(ALL_FILTER);
if (isDefined(scanconfigs)) {
Expand Down Expand Up @@ -1107,7 +1096,6 @@ const mapStateToProps = rootState => {
dfnCertFilter,
nvtFilter,
autoCacheRebuild,
deltaReportsVersion,
};
};

Expand Down

0 comments on commit 72f6060

Please sign in to comment.