diff --git a/static/js/user_profile_2.js b/static/js/user_profile_2.js index a4e82f3..1230bd2 100644 --- a/static/js/user_profile_2.js +++ b/static/js/user_profile_2.js @@ -99,7 +99,7 @@ function select_tab_profile (el,url,owner_type=null, check_orders_required) { } } } - if(window.location.href.includes("subscribe") ) { + if(window.location.href.includes("subscribe") && data.check_orders_required === true) { select_tab_profile(el,url,owner_type=null, data.check_orders_required ) return }