diff --git a/app/javascript/vue/repository_print_modal/container.vue b/app/javascript/vue/repository_print_modal/container.vue index d2da600a9..af6222d58 100644 --- a/app/javascript/vue/repository_print_modal/container.vue +++ b/app/javascript/vue/repository_print_modal/container.vue @@ -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', { diff --git a/app/views/repositories/show.html.erb b/app/views/repositories/show.html.erb index 68f8e460e..69963d418 100644 --- a/app/views/repositories/show.html.erb +++ b/app/views/repositories/show.html.erb @@ -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) %>"