Fix error during non-grid box creation [SCI-11246]

This commit is contained in:
Anton 2024-11-07 11:53:27 +01:00
parent 83150f59c0
commit 0217419603

View file

@ -44,11 +44,11 @@
<span class="sci-radio-label"></span>
</div>
<span>{{ i18n.t('storage_locations.index.edit_modal.grid') }}</span>
<div class="sci-input-container-v2 !w-28">
<div class="sci-input-container-v2 !w-28" v-if="object.metadata.dimensions">
<input type="number" :disabled="!canChangeGrid" v-model="object.metadata.dimensions[0]" min="1" max="24">
</div>
<i class="sn-icon sn-icon-close-small"></i>
<div class="sci-input-container-v2 !w-28">
<div class="sci-input-container-v2 !w-28" v-if="object.metadata.dimensions">
<input type="number" :disabled="!canChangeGrid" v-model="object.metadata.dimensions[1]" min="1" max="24">
</div>
</div>