diff --git a/webapp/src/gateway_fetch_utils.js b/webapp/src/gateway_fetch_utils.js index 6fa327785..8fc6c9d4c 100644 --- a/webapp/src/gateway_fetch_utils.js +++ b/webapp/src/gateway_fetch_utils.js @@ -6,11 +6,12 @@ import { GATEWAY_URL } from "@/resources.js"; import { fetch_post } from "@/server_fetch_utils.js"; -export function printQRCode(item_id, name, url, hcodes) { - return fetch_post(`${GATEWAY_URL}/print-label/`, { +export function printQRCode(item_id, name, url, hcodes, isDryrun) { + return fetch_post(`${GATEWAY_URL}/print-label`, { item_id: item_id, name: name, url: url, hcodes: hcodes, + dryrun: isDryrun, }); } diff --git a/webapp/src/views/EditPage.vue b/webapp/src/views/EditPage.vue index 54c1af292..7b2cda19c 100644 --- a/webapp/src/views/EditPage.vue +++ b/webapp/src/views/EditPage.vue @@ -38,6 +38,7 @@ View JSON + Print label