Handle undefined values (#9139)

This commit is contained in:
Oliver authored and GitHub committed 2025-02-22 11:52:11 +11:00
1 parent 03278c56c9
commit 09cdf72bda
1 file changed
+1 -1
@@ -100,7 +100,7 @@ export function getStatusCodeOptions(type: ModelType | string): any[] {
return [];
}
return Object.values(statusCodes.values).map((entry) => {
return Object.values(statusCodes?.values ?? []).map((entry) => {
return {
value: entry.key,
display_name: entry.label