(e)
| 46 | // @supermodel.trackRequest(@codelogs.fetch()) |
| 47 | |
| 48 | onUserIDInput (e) { |
| 49 | const userID = $('#userid-search')[0].value |
| 50 | if (userID !== '') { |
| 51 | return Promise.resolve(this.codelogs.fetchByUserID(userID)) |
| 52 | .then(e => { |
| 53 | return this.renderSelectors('#codelogtable') |
| 54 | }) |
| 55 | } else { |
| 56 | return Promise.resolve(this.codelogs.fetchLatest()) |
| 57 | .then(e => { |
| 58 | return this.renderSelectors('#codelogtable') |
| 59 | }) |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | onLevelSlugInput (e) { |
| 64 | const slug = $('#levelslug-search')[0].value |
nothing calls this directly
no test coverage detected