From 649afd3c1a2ffa86eaff10b2fed321c66c00499e Mon Sep 17 00:00:00 2001 From: wandji20 Date: Fri, 1 Mar 2024 12:00:25 +0100 Subject: [PATCH] Fix preview error for label template code editor [SCI-10316] --- .../vue/label_template/components/label_preview.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/javascript/vue/label_template/components/label_preview.vue b/app/javascript/vue/label_template/components/label_preview.vue index f383ba109..5df912368 100644 --- a/app/javascript/vue/label_template/components/label_preview.vue +++ b/app/javascript/vue/label_template/components/label_preview.vue @@ -84,6 +84,13 @@ const DPI_RESOLUTION_OPTIONS = [ { value: 24, label: '600 dpi' } ]; +const DPMM_RESOLUTION_OPTIONS = [ + { value: 6, label: '6 dpmm (152 dpi)' }, + { value: 8, label: '8 dpmm (203 dpi)' }, + { value: 12, label: '12 dpmm (300 dpi)' }, + { value: 24, label: '24 dpmm (600 dpi)' } +]; + import DropdownSelector from '../../shared/legacy/dropdown_selector.vue' export default {