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 14, 2024
1 parent df141ba commit a47182b
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 a47182b

Please sign in to comment.