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")){