Skip to content

Commit 846f56a

Browse files
committed
PR feedback: do not show unmanaged chip on list
1 parent 04e4db9 commit 846f56a

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

frontend/src/components/GManagedSeedShootLink.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ SPDX-License-Identifier: Apache-2.0
1111
:text="managedSeedShootName"
1212
/>
1313
<v-chip
14-
v-else
14+
v-else-if="showUnmanagedChip"
1515
v-tooltip:top="'This seed is not backed by a ManagedSeed / Shoot resource'"
1616
size="small"
1717
variant="tonal"
@@ -30,6 +30,10 @@ const props = defineProps({
3030
type: String,
3131
default: undefined,
3232
},
33+
showUnmanagedChip: {
34+
type: Boolean,
35+
default: true,
36+
},
3337
})
3438
3539
const managedSeedShootItemLink = computed(() => {

frontend/src/components/GSeedListRow.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ SPDX-License-Identifier: Apache-2.0
2626
/>
2727
</template>
2828
<template v-else-if="header.key === 'shoot'">
29-
<g-managed-seed-shoot-link :managed-seed-shoot-name="managedSeedShootName" />
29+
<g-managed-seed-shoot-link
30+
:managed-seed-shoot-name="managedSeedShootName"
31+
:show-unmanaged-chip="false"
32+
/>
3033
</template>
3134
<template v-else-if="header.key === 'lastOperation'">
3235
<div class="d-flex align-center justify-center">

0 commit comments

Comments
 (0)