foreman_rh_cloud 12.2.4 → 12.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/foreman_rh_cloud/version.rb +1 -1
- data/package.json +1 -1
- data/webpack/ForemanColumnExtensions/index.js +5 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2081fbfa1331d1d17e96c000bfad7990a679973d5702ae47bc9f544591d1b27a
|
4
|
+
data.tar.gz: 5e33001a27be919fa1394b235ee4374ef8e8b7086eaffa898ddcd601acca5933
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d04457f59d4c0a027dcd87f996efb850e04db2f123753f5636c134f4e8c0c04226e96854bcb686a7200f83b4ee32fe75deba2c9af6680009dfb2e70a816502f8
|
7
|
+
data.tar.gz: 716f79c957a3a563374ba257f623b34bfdf30a5ef1a29f5404994cef658146e26d01fb0a52cf218d307734de85edce662f4ea63eb55c88de149b1c5bfd5d5899
|
data/package.json
CHANGED
@@ -6,7 +6,7 @@ import { translate as __ } from 'foremanReact/common/I18n';
|
|
6
6
|
import { propsToCamelCase } from 'foremanReact/common/helpers';
|
7
7
|
import { CVECountCell } from '../InsightsVulnerabilityHostIndexExtensions/CVECountCell';
|
8
8
|
|
9
|
-
const HostedRecommendationsCell = hostDetails => {
|
9
|
+
const HostedRecommendationsCell = ({ hostDetails }) => {
|
10
10
|
const insightsAttributes = propsToCamelCase(
|
11
11
|
// eslint-disable-next-line camelcase
|
12
12
|
hostDetails?.insights_attributes ?? {}
|
@@ -19,6 +19,10 @@ const HostedRecommendationsCell = hostDetails => {
|
|
19
19
|
return <a href={hitsUrl}>{hitsCount}</a>;
|
20
20
|
};
|
21
21
|
|
22
|
+
HostedRecommendationsCell.propTypes = {
|
23
|
+
hostDetails: PropTypes.object.isRequired,
|
24
|
+
};
|
25
|
+
|
22
26
|
const IopRecommendationsCell = ({ hostDetails }) => {
|
23
27
|
// eslint-disable-next-line camelcase
|
24
28
|
const uuid = hostDetails?.insights_attributes?.uuid;
|