Skip to content

Commit 775cb8f

Browse files
committed
fixes
1 parent 0316081 commit 775cb8f

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

src/components/ControlPlanes/ControlPlaneCard/ControlPlaneCard.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ export function ControlPlaneCard({
5252

5353
const name = controlPlane.metadata.name;
5454
const namespace = controlPlane.metadata.namespace;
55-
console.log('controlPlane');
56-
console.log(controlPlane);
55+
5756
return (
5857
<>
5958
<Card key={`${name}--${namespace}`} className={styles.card}>

src/components/Yaml/YamlLoader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const YamlLoader: FC<ResourceProps> = ({
2525
return (
2626
<YamlViewer
2727
yamlString={stringify(data)}
28-
filename={`${workspaceName}_${resourceType}_${resourceName}`}
28+
filename={`${workspaceName ? `${workspaceName}_` : ''}${resourceType}_${resourceName}`}
2929
/>
3030
);
3131
};

src/lib/api/types/crate/controlPlanes.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ export const ControlPlane = (
7474
workspaceName: string,
7575
controlPlaneName: string,
7676
): Resource<ControlPlaneType> => {
77-
console.log('CP1');
7877
return {
7978
path: `/apis/core.openmcp.cloud/v1alpha1/namespaces/project-${projectName}--ws-${workspaceName}/managedcontrolplanes/${controlPlaneName}`,
8079
jq: '{ spec: .spec | {components}, status: { conditions: [.status.conditions[] | {type: .type, status: .status, message: .message, reason: .reason, lastTransitionTime: .lastTransitionTime}], access: .status.components.authentication.access, status: .status.status }}',

src/views/ControlPlanes/ControlPlaneView.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ export default function ControlPlaneView() {
5555
return <IllustratedError error={t('ControlPlaneView.accessError')} />;
5656
}
5757

58-
console.log('mcp ---');
59-
console.log(mcp);
6058
return (
6159
<McpContextProvider
6260
context={{

0 commit comments

Comments
 (0)