File tree 2 files changed +2
-7
lines changed
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'
30
30
vm . myChallenges = [ ]
31
31
loadUser ( ) . then ( function ( token ) {
32
32
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 } )
37
33
38
- // update auth flag
34
+ // update auth flag and get challenges
39
35
if ( TcAuthService . isAuthenticated ( ) ) {
40
36
getChallenges ( handle )
41
- $scope . userProps = { isAuth : true , myChallenges : vm . myChallenges }
42
37
}
43
38
} , function ( error ) {
44
39
// do nothing, just show non logged in state of navigation bar
Original file line number Diff line number Diff line change 56
56
"appirio-styles" : " 0.x.x" ,
57
57
"appirio-tech-ng-iso-constants" : " ^1.0.6" ,
58
58
"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 " ,
60
60
"auth0-angular" : " ^4.1.0" ,
61
61
"auth0-js" : " ^6.8.0" ,
62
62
"d3" : " ^3.5.14" ,
You can’t perform that action at this time.
0 commit comments