fix: set default row height to short

Signed-off-by: mertmit <mertmit99@gmail.com>
This commit is contained in:
mertmit
2023-01-24 20:59:19 +03:00
parent 46c9db6e8d
commit 8ccb128cba
5 changed files with 11 additions and 2 deletions

View File

@@ -35,7 +35,6 @@ const showBarcode = computed(() => barcodeValue?.value.length > 0 && !tooManyCha
const { showEditNonEditableFieldWarning, showClearNonEditableFieldWarning } = useShowNotEditableWarning()
const rowHeight = computed(() => {
if ((view.value?.view as GridType)?.row_height !== undefined) {
switch ((view.value?.view as GridType)?.row_height) {
@@ -47,6 +46,8 @@ const rowHeight = computed(() => {
return 4
case 3:
return 6
default:
return 1
}
}
})