From 7b90c32b962436c885aa0090d001c78fce5830c0 Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Tue, 19 Jan 2021 23:54:50 +0100 Subject: [PATCH] bugfix: type in printer select dialog Signed-off-by: Stefan Dej --- src/components/SelectPrinterDialog.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/SelectPrinterDialog.vue b/src/components/SelectPrinterDialog.vue index 6f1b2bae..ce68ee2f 100644 --- a/src/components/SelectPrinterDialog.vue +++ b/src/components/SelectPrinterDialog.vue @@ -186,7 +186,7 @@ export default { }), currentUrl: { get() { - return "http://"+window.location.hostname+(window.location.port !== 80 ? ':'+window.location.port : '') + return "http://"+window.location.hostname+(window.location.port !== 80 && window.location.port !== '' ? ':'+window.location.port : '') } }, showCorsInfo: {