Skip to content

Commit

Permalink
Remove: Remove delta reports version from user settings
Browse files Browse the repository at this point in the history
  • Loading branch information
a-h-abdelsalam committed Nov 6, 2024
1 parent bfbd85a commit 5865298
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 @@ -865,7 +858,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 @@ -1042,9 +1034,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 @@ -1113,7 +1102,6 @@ const mapStateToProps = rootState => {
dfnCertFilter,
nvtFilter,
autoCacheRebuild,
deltaReportsVersion,
};
};

Expand Down

0 comments on commit 5865298

Please sign in to comment.