Skip to content

Commit 5174f2d

Browse files
committed
fix(ui): extend button on inventory form
1 parent dde1b3a commit 5174f2d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

web/src/components/InventoryForm.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,10 @@
112112
dense
113113
></v-select>
114114

115-
<div style="position: relative">
115+
<div
116+
style="position: relative"
117+
v-if="item.type === 'static' || item.type === 'static-yaml'"
118+
>
116119
<codemirror
117120
:class="{
118121
'InventoryEditor': true,
@@ -122,7 +125,6 @@
122125
:style="{ border: '1px solid lightgray' }"
123126
v-model.trim="item.inventory"
124127
:options="cmOptions"
125-
v-if="item.type === 'static' || item.type === 'static-yaml'"
126128
:placeholder="$t('enterInventory')"
127129
/>
128130

0 commit comments

Comments
 (0)