From 2d86f36a914bde41744ebb8a797bad2b688710db Mon Sep 17 00:00:00 2001 From: ArtemB Date: Tue, 7 May 2024 17:52:16 +0300 Subject: [PATCH] 1.0.2 upd select_tab_profile --- static/js/user_profile_2.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index fa25420..6db2065 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -14,16 +14,15 @@ function select_tab_profile (el,url,owner_type=null, check_orders_required) { let confirm_url = `/user_account/${url}/` if (url.includes('subscribe')){ confirm_url = `/subscribes/${url}/` + data = { + 'check_orders_required': check_orders_required + } } else if (url.includes('new_route')){ data = { 'owner_type': owner_type } } else if (url.includes('get_routes')){ confirm_url = `/routes/${url}/` - } else if(url.includes('my_subscribe')){ - data = { - 'check_orders_required': check_orders_required - } } if (window.location.href.includes("profile")){