(introContent)
| 358 | // OLD TEACHER DASHBOARD |
| 359 | // Only for cinematics/interactives |
| 360 | export function getIntroContentNameWithLabel (introContent) { |
| 361 | if (!introContent) { |
| 362 | return |
| 363 | } |
| 364 | const displayName = introContent.displayName || '...' |
| 365 | if (introContent.type) { |
| 366 | return internationalizeContentType(introContent.type) + ': ' + displayName |
| 367 | } |
| 368 | } |
| 369 | |
| 370 | // Used for new teacher dashboard, contentData is the list-item returned by game-content APIs |
| 371 | // i.e. levels broken down into practice/cinematics/interactives etc |
nothing calls this directly
no test coverage detected