We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a03f8cf commit bbcf4e9Copy full SHA for bbcf4e9
src/components/Graphs/graphUtils.ts
@@ -10,7 +10,7 @@ export const getStatusCondition = (conditions?: Condition[]): Condition | undefi
10
11
export const resolveProviderTypeFromApiVersion = (apiVersion: string): string => {
12
// Extract domain from apiVersion (e.g. "account.btp.sap.crossplane.io/v1alpha1" -> "account.btp.sap.crossplane.io")
13
- const domain = apiVersion.split('/')[0] || '';
+ const domain = apiVersion?.split('/')[0] || '';
14
15
// Remove "account" to normalize provider names
16
// e.g "account.btp.sap.crossplane.io" -> "btp.sap.crossplane.io"
0 commit comments