You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/sbombastic-image-vulnerability-scanner/pages/c/_cluster/sbombastic-image-vulnerability-scanner/RegistriesConfiguration.vue
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -169,7 +169,16 @@ import { template } from "lodash";
169
169
getScanJobMap(scanJobCRD) {
170
170
let scanJobMap = {};
171
171
scanJobCRD.forEach((rec) => {
172
-
let statusIndex =rec.status?.conditions?.findIndex((condition) => {
172
+
if (!rec.status) {
173
+
rec.status= {
174
+
statusResult: {
175
+
type:"Pending",
176
+
lastTransitionTime:null,
177
+
statusIndex:-1
178
+
}
179
+
};
180
+
}
181
+
let statusIndex =rec.status.conditions?.findIndex((condition) => {
0 commit comments