(context)
| 71 | } |
| 72 | |
| 73 | getRenderData (context) { |
| 74 | if (context == null) { context = {} } |
| 75 | context = super.getRenderData(context) |
| 76 | const submenus = ['my-code', 'options'] |
| 77 | context.showTab = this.options.showTab != null ? this.options.showTab : submenus[0] |
| 78 | context.iconMap = { |
| 79 | 'my-code': 'list-alt', |
| 80 | options: 'cog', |
| 81 | 'save-load': 'floppy-disk', |
| 82 | } |
| 83 | if (!this.options.inOzariaMap && !this.showsChooseHero()) { |
| 84 | submenus.push('change-language') |
| 85 | context.iconMap['change-language'] = 'globe' |
| 86 | } |
| 87 | context.submenus = submenus |
| 88 | context.isCodeCombat = !utils.showOzaria() |
| 89 | return context |
| 90 | } |
| 91 | |
| 92 | showsCourseVideos () { |
| 93 | return me.isStudent() && this.options.courseID === utils.courseIDs.INTRODUCTION_TO_COMPUTER_SCIENCE |
nothing calls this directly
no test coverage detected