This repository was archived by the owner on Mar 4, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -30,15 +30,10 @@ import { loadUser } from '../services/userv3.service.js'
3030 vm . myChallenges = [ ]
3131 loadUser ( ) . then ( function ( token ) {
3232 handle = UserService . getUserIdentity ( ) . handle
33- // mock current user have this challenges
34- vm . myChallenges . push ( { 'id' :30056409 } )
35- vm . myChallenges . push ( { 'id' :30056067 } )
36- vm . myChallenges . push ( { 'id' :16870 } )
3733
38- // update auth flag
34+ // update auth flag and get challenges
3935 if ( TcAuthService . isAuthenticated ( ) ) {
4036 getChallenges ( handle )
41- $scope . userProps = { isAuth : true , myChallenges : vm . myChallenges }
4237 }
4338 } , function ( error ) {
4439 // do nothing, just show non logged in state of navigation bar
Original file line number Diff line number Diff line change 5656 "appirio-styles" : " 0.x.x" ,
5757 "appirio-tech-ng-iso-constants" : " ^1.0.6" ,
5858 "appirio-tech-ng-ui-components" : " ^2.1.2" ,
59- "appirio-tech-react-components" : " appirio-tech/react-components.git#cl-misc-fixes-2 " ,
59+ "appirio-tech-react-components" : " appirio-tech/react-components.git#cl-misc-fixes-3 " ,
6060 "auth0-angular" : " ^4.1.0" ,
6161 "auth0-js" : " ^6.8.0" ,
6262 "d3" : " ^3.5.14" ,
You can’t perform that action at this time.
0 commit comments