Merge pull request #4490 from aignatov-bio/ai-sci-7287-fix-validation-on-print-modal

Fix validation on print modal [SCI-7287]
This commit is contained in:
Alex Kriuchykhin 2022-10-06 10:42:36 +02:00 committed by GitHub
commit ae8f5526be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,7 +67,7 @@
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal"> {{ i18n.t('general.cancel') }}</button>
<button class="btn btn-primary" @click="submitPrint" :disabled="!selectedPrinter || !selectedTemplate">
{{ i18n.t('repository_row.modal_print_label.print_label') }}
{{ i18n.t(`repository_row.modal_print_label.${labelTemplateError ? 'print_anyway' : 'print_label'}`) }}
</button>
</div>
</div>