()
| 74 | } |
| 75 | |
| 76 | getRenderData () { |
| 77 | const c = super.getRenderData() |
| 78 | c.isPatchCreator = this.patch.get('creator') === auth.me.id |
| 79 | c.isPatchRecipient = this.targetModel.hasWriteAccess() |
| 80 | c.isLevel = __guard__(this.patch.get('target'), x => x.collection) === 'level' |
| 81 | c.status = this.patch.get('status') |
| 82 | c.patch = this.patch |
| 83 | c.deltaWorked = this.deltaWorked |
| 84 | return c |
| 85 | } |
| 86 | |
| 87 | afterRender () { |
| 88 | if (!this.supermodel.finished() || !this.deltaWorked) { return super.afterRender() } |
nothing calls this directly
no test coverage detected