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, IsFormInj,
RowInj, RowInj,
inject, inject,
isBarcode,
isBt, isBt,
isCount, isCount,
isFormula, isFormula,
@ -14,7 +15,6 @@ import {
isLookup, isLookup,
isMm, isMm,
isQrCode, isQrCode,
isBarcode,
isRollup, isRollup,
provide, provide,
toRef, toRef,

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

@ -34,6 +34,6 @@ onMounted(generate)
</script> </script>
<template> <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" /> <slot v-if="errorForCurrentInput" name="barcodeRenderError" />
</template> </template>

Loading…
Cancel
Save