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 88dafad commit 04d2035Copy full SHA for 04d2035
src/components/ControlPlane/ProvidersConfig.tsx
@@ -45,7 +45,7 @@ export function ProvidersConfig() {
45
rows.push({
46
parent: provider.provider,
47
name: config.metadata.name,
48
- usage: config.metadata.usage ? config.metadata.usage : '0',
+ usage: config?.status?.users ?? '0',
49
created: timeAgo.format(new Date(config.metadata.creationTimestamp)),
50
resource: config,
51
});
src/lib/shared/types.ts
@@ -27,6 +27,7 @@ export type ProviderConfigs = {
27
};
28
status: {
29
count: string;
30
+ users: string;
31
32
},
33
];
0 commit comments