From 00851dde2bdad33fd4f2b8552c97f5c2493f4006 Mon Sep 17 00:00:00 2001
From: Disha Talreja <dishatalreja1202@gmail.com>
Date: Mon, 31 Oct 2022 15:57:50 +0530
Subject: [PATCH] Fixed: Viewing upload logs should open in a new tab

---
 src/views/OrderDetail.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/views/OrderDetail.vue b/src/views/OrderDetail.vue
index 2b0308a0..98f3c1c4 100644
--- a/src/views/OrderDetail.vue
+++ b/src/views/OrderDetail.vue
@@ -284,7 +284,7 @@ export default defineComponent({
                     text: translate('View'),
                     role: 'view',
                     handler: () => {
-                      window.location.href = `https://${this.instanceUrl}.hotwax.io/commerce/control/ImportData?configId=IMP_PO`
+                      window.open(`https://${this.instanceUrl}.hotwax.io/commerce/control/ImportData?configId=IMP_PO`, '_blank');
                     }
                   }])
                   this.router.push("/purchase-order");