Skip to content

Commit 95546f5

Browse files
authored
Merge pull request #156 from KelvinTegelaar/dev
[pull] dev from KelvinTegelaar:dev
2 parents 234abc4 + 6997afe commit 95546f5

File tree

4 files changed

+16
-13
lines changed

4 files changed

+16
-13
lines changed

src/components/CippStandards/CippStandardAccordion.jsx

+7-8
Original file line numberDiff line numberDiff line change
@@ -168,16 +168,15 @@ const CippStandardAccordion = ({
168168
size="small"
169169
sx={{ mr: 1 }}
170170
/>
171-
<Chip
172-
key={index}
173-
label={standard?.impact}
174-
color={standard?.impact === "High Impact" ? "error" : "info"}
175-
variant="outlined"
176-
size="small"
177-
sx={{ mr: 1 }}
178-
/>
179171
</>
180172
))}
173+
<Chip
174+
label={standard?.impact}
175+
color={standard?.impact === "High Impact" ? "error" : "info"}
176+
variant="outlined"
177+
size="small"
178+
sx={{ mr: 1 }}
179+
/>
181180
</Stack>
182181
)}
183182
{

src/data/GraphExplorerPresets.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@
105105
"params": {
106106
"endpoint": "/reports/authenticationMethods/userRegistrationDetails",
107107
"$filter": "",
108-
"$select": ""
108+
"$select": "",
109+
"AsApp": true
109110
},
110111
"isBuiltin": true
111112
},
@@ -125,7 +126,8 @@
125126
"params": {
126127
"endpoint": "/reports/authenticationMethods/userRegistrationDetails",
127128
"$filter": "IsAdmin eq true",
128-
"$select": ""
129+
"$select": "",
130+
"AsApp": true
129131
},
130132
"isBuiltin": true
131133
},

src/data/standards.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3490,8 +3490,8 @@
34903490
"label": "Intune Template",
34913491
"multiple": true,
34923492
"disabledFeatures": {
3493-
"report": true,
3494-
"warn": true,
3493+
"report": false,
3494+
"warn": false,
34953495
"remediate": false
34963496
},
34973497
"impact": "High Impact",

src/pages/tenant/standards/bpa-report/view.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ const Page = () => {
113113
}
114114
}
115115
}
116-
}, [bpaTemplateList.isSuccess, bpaData.isSuccess, currentTenant, router]);
116+
}, [bpaTemplateList.isSuccess, bpaData.isSuccess, bpaData.data, currentTenant, router]);
117117

118118
const pageTitle = `BPA Report Viewer - ${currentTenant}`;
119119
return (
@@ -221,6 +221,8 @@ const Page = () => {
221221
noCard={true}
222222
incorrectDataMessage={"No data has been found for this report."}
223223
simpleColumns={block?.simpleColumns}
224+
isFetching={bpaData.isFetching}
225+
refreshFunction={() => bpaData.refetch()}
224226
/>
225227
) : (
226228
<Typography variant="h6" color="textPrimary">

0 commit comments

Comments
 (0)