@@ -13,6 +13,7 @@ import _ from 'lodash'
1313 vm . ASSET_PREFIX = CONSTANTS . ASSET_PREFIX
1414 vm . IOS_PROGRAM_ID = CONSTANTS . SWIFT_PROGRAM_ID
1515 vm . PREDIX_PROGRAM_ID = CONSTANTS . PREDIX_PROGRAM_ID
16+ vm . IBM_COGNITIVE_PROGRAM_ID = CONSTANTS . IBM_COGNITIVE_PROGRAM_ID
1617 vm . submitSkills = submitSkills
1718 vm . featuredSkills = featuredSkills
1819 vm . userId = userProfile . userId
@@ -63,10 +64,30 @@ import _ from 'lodash'
6364 * Initializes the communities to show in the communities section.
6465 */
6566 function initCommunities ( ) {
66- vm . communities [ 'ios' ] = { displayName : 'iOS' , programId : vm . IOS_PROGRAM_ID , status : false , dirty : false , display : true }
67- vm . communities [ 'predix' ] = { displayName : 'Predix' , programId : vm . PREDIX_PROGRAM_ID , status : false , dirty : false , display : true }
67+ vm . communities [ 'ios' ] = {
68+ displayName : 'iOS' ,
69+ programId : vm . IOS_PROGRAM_ID ,
70+ status : false ,
71+ dirty : false ,
72+ display : true
73+ }
74+ vm . communities [ 'predix' ] = {
75+ displayName : 'Predix' ,
76+ programId : vm . PREDIX_PROGRAM_ID ,
77+ status : false ,
78+ dirty : false ,
79+ display : true
80+ }
81+ vm . communities [ 'ibm_cognitive' ] = {
82+ displayName : 'Cognitive' ,
83+ programId : vm . IBM_COGNITIVE_PROGRAM_ID ,
84+ status : false ,
85+ dirty : false ,
86+ display : true
87+ }
6888 _addWatchToCommunity ( vm . communities [ 'ios' ] )
6989 _addWatchToCommunity ( vm . communities [ 'predix' ] )
90+ _addWatchToCommunity ( vm . communities [ 'ibm_cognitive' ] )
7091 }
7192
7293 /**
0 commit comments