()
| 87 | } |
| 88 | |
| 89 | getBanner () { |
| 90 | return fetchJson('/db/banner', { data: { cacheEdge: true } }).then(data => { |
| 91 | this.banner = data |
| 92 | const content = utils.i18n(data, 'content') |
| 93 | this.banner.display = DOMPurify.sanitize(marked(content != null ? content : '')) |
| 94 | return this.banner.display |
| 95 | }) |
| 96 | } |
| 97 | |
| 98 | onLoaded () { |
| 99 | if (this.trialRequests != null ? this.trialRequests.size() : undefined) { this.trialRequest = this.trialRequests.first() } |
nothing calls this directly
no outgoing calls
no test coverage detected