Small fixes [SCI-7193]

This commit is contained in:
Anton 2022-09-26 10:02:41 +02:00
parent 40022a7012
commit d3886c9bf7
2 changed files with 2 additions and 2 deletions
app
javascript/vue/repository_print_modal
views/repositories

View file

@ -155,7 +155,7 @@
submitPrint() {
if (this.selectedPrinter.attributes.type_of === 'zebra') {
zebraPrinters.print(
this.ulrs.zebraProgress,
this.urls.zebraProgress,
'.label-printing-progress-modal',
'#modal-print-repository-row-label',
{

View file

@ -86,7 +86,7 @@
<div class="print-label-modal-container"
data-print-url="<%= print_repository_repository_rows_path(repository_id: @repository) %>"
data-zebra-progress-url="<%= print_repository_repository_rows_path(repository_id: @repository) %>"
data-zebra-progress-url="<%= print_zpl_repository_repository_rows_path(repository_id: @repository)%>"
data-printers-url="<%= label_printers_path(format: :json) %>"
data-label-templates-url="<%= label_templates_path(format: :json) %>"
data-rows-url="<%= rows_to_print_repository_repository_rows_path(repository_id: @repository) %>"