dashboard-shell-shell 3.0.5-test.22 → 3.0.5-test.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -109,6 +109,16 @@ const menuIcon = computed(() => {
|
|
|
109
109
|
return store.getters['type-map/groupsForVirTypes'](product, resources) || 'default menuIcon';
|
|
110
110
|
});
|
|
111
111
|
|
|
112
|
+
const hiddenTypes = [
|
|
113
|
+
'harvesterhci.io.virtualmachinebackup',
|
|
114
|
+
];
|
|
115
|
+
|
|
116
|
+
const shouldShowConfiguration = computed(() =>
|
|
117
|
+
onShowConfiguration &&
|
|
118
|
+
configTabProps &&
|
|
119
|
+
!hiddenTypes.includes(resource?.type)
|
|
120
|
+
);
|
|
121
|
+
|
|
112
122
|
watch(
|
|
113
123
|
() => currentView.value,
|
|
114
124
|
() => {
|
|
@@ -180,7 +190,7 @@ watch(
|
|
|
180
190
|
:options="viewOptions"
|
|
181
191
|
/>
|
|
182
192
|
<RcButton
|
|
183
|
-
v-if="
|
|
193
|
+
v-if="shouldShowConfiguration"
|
|
184
194
|
:data-testid="showConfigurationDataTestId"
|
|
185
195
|
class="show-configuration"
|
|
186
196
|
:primary="true"
|