Skip to content

Commit a7e6cb8

Browse files
committed
fix
1 parent 33d4d0d commit a7e6cb8

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/components/ControlPlanes/ControlPlaneCard/ControlPlaneCard.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.card {
22
margin: 0.75rem 0.75rem 0.75rem 0;
3+
min-width: min-content;
34
}
45

56
.container {

src/components/ControlPlanes/List/ControlPlaneListWorkspaceGridTile.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Button, FlexBox, Grid, ObjectPageSection, Panel, Title } from '@ui5/webcomponents-react';
1+
import { Button, FlexBox, ObjectPageSection, Panel, Title } from '@ui5/webcomponents-react';
22
import '@ui5/webcomponents-fiori/dist/illustrations/NoData.js';
33
import '@ui5/webcomponents-fiori/dist/illustrations/EmptyList.js';
44
import '@ui5/webcomponents-icons/dist/delete';
@@ -161,7 +161,7 @@ export function ControlPlaneListWorkspaceGridTile({ projectName, workspace }: Pr
161161
}
162162
/>
163163
) : (
164-
<Grid defaultSpan="XL4 L4 M7 S12">
164+
<FlexBox wrap={'Wrap'} gap={'1rem'}>
165165
{controlplanes?.map((cp) => (
166166
<ControlPlaneCard
167167
key={`${cp.metadata.name}--${cp.metadata.namespace}`}
@@ -170,7 +170,7 @@ export function ControlPlaneListWorkspaceGridTile({ projectName, workspace }: Pr
170170
workspace={workspace}
171171
/>
172172
))}
173-
</Grid>
173+
</FlexBox>
174174
)}
175175
</Panel>
176176
</ObjectPageSection>

src/utils/removeManagedFieldsAndFilterData.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ const cleanUpResource = (
4040
}
4141
delete newResource.metadata.generation;
4242
delete newResource.metadata.uid;
43+
delete newResource.metadata.resourceVersion;
4344
}
4445
}
4546

0 commit comments

Comments
 (0)