From db12ceb369556bd7b9652267900fa206354efc4e Mon Sep 17 00:00:00 2001 From: Pau Navarro Date: Tue, 18 Oct 2022 13:07:10 +0200 Subject: [PATCH] removed async from the redirect function --- modules/supplier/front/create/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/supplier/front/create/index.js b/modules/supplier/front/create/index.js index bed14c826..7c5a638bf 100644 --- a/modules/supplier/front/create/index.js +++ b/modules/supplier/front/create/index.js @@ -13,7 +13,7 @@ class Controller extends Section { redirect(this.$.$ctrl); - async function redirect(ctrl) { + function redirect(ctrl) { window.location.href = `/#!/supplier/${ctrl.supplier.supplier.id}/fiscal-data`; } }