Browse Source

barcode: formatting

pull/4641/head
flisowna 2 years ago
parent
commit
3150b986bb
  1. 2
      packages/nc-gui/components/smartsheet/VirtualCell.vue
  2. 2
      packages/nc-gui/components/virtual-cell/barcode/JsBarcodeWrapper.vue

2
packages/nc-gui/components/smartsheet/VirtualCell.vue

@ -7,6 +7,7 @@ import {
IsFormInj,
RowInj,
inject,
isBarcode,
isBt,
isCount,
isFormula,
@ -14,7 +15,6 @@ import {
isLookup,
isMm,
isQrCode,
isBarcode,
isRollup,
provide,
toRef,

2
packages/nc-gui/components/virtual-cell/barcode/JsBarcodeWrapper.vue

@ -34,6 +34,6 @@ onMounted(generate)
</script>
<template>
<svg class="w-full" data-testid="barcode" v-show="!errorForCurrentInput" ref="barcodeSvgRef" @click="onBarcodeClick"></svg>
<svg v-show="!errorForCurrentInput" ref="barcodeSvgRef" class="w-full" data-testid="barcode" @click="onBarcodeClick"></svg>
<slot v-if="errorForCurrentInput" name="barcodeRenderError" />
</template>

Loading…
Cancel
Save