File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
containers/challenge-detail Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -106,10 +106,16 @@ function getOgImage(challenge) {
106
106
case SUBTRACKS . FIRST_2_FINISH :
107
107
switch ( challenge . track ) {
108
108
case COMPETITION_TRACKS_V3 . DEVELOP : return challenge . type === 'Task' ? ogDEVTask : ogFirst2FinishDEV ;
109
- case COMPETITION_TRACKS_V3 . DESIGN : return challenge . type === 'Task' ? ogDESIGNTask : ogFirst2FinishDESIGN ;
110
109
case COMPETITION_TRACKS_V3 . QA : return challenge . type === 'Task' ? ogQATask : ogFirst2FinishQA ;
111
110
default : return ogFirst2FinishDEV ;
112
111
}
112
+
113
+ case SUBTRACKS . DESIGN_FIRST_2_FINISH :
114
+ switch ( challenge . track ) {
115
+ case COMPETITION_TRACKS_V3 . DESIGN : return challenge . type === 'Task' ? ogDESIGNTask : ogFirst2FinishDESIGN ;
116
+ default : return ogUiDesign ;
117
+ }
118
+
113
119
case SUBTRACKS . UI_PROTOTYPE_COMPETITION : {
114
120
const submission = ( challenge . phases || [ ] )
115
121
. find ( p => p . name === CHALLENGE_PHASE_TYPES . SUBMISSION ) ;
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ export const SUBTRACKS = {
46
46
QA : 'BUG_HUNT' ,
47
47
TEST_SUITES : 'TEST_SUITES' ,
48
48
MM : 'DEVELOP_MARATHON_MATCH' ,
49
+ DSF : 'DESIGN_FIRST_2_FINISH' ,
49
50
} ;
50
51
51
52
/**
You can’t perform that action at this time.
0 commit comments