dashboard-shell-shell 3.0.5-test.22 → 3.0.5-test.24
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"
|
package/package.json
CHANGED
|
@@ -202,14 +202,14 @@ $icon-size: 24px;
|
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
&__content {
|
|
205
|
-
padding:
|
|
205
|
+
padding: 2px 10px;
|
|
206
206
|
transition: all 0.2s ease;
|
|
207
207
|
line-height: 12px;
|
|
208
208
|
width: 100%;
|
|
209
209
|
border-left: solid $left-border-size transparent;
|
|
210
210
|
display: flex;
|
|
211
211
|
gap: 3px;
|
|
212
|
-
height: 32px;
|
|
212
|
+
min-height: 32px;
|
|
213
213
|
align-items: center;
|
|
214
214
|
word-wrap:break-word;
|
|
215
215
|
word-break:break-all;
|