(str)
| 32 | } |
| 33 | |
| 34 | loadWorklogFromString(str) { |
| 35 | const obj = JSON.parse(str); |
| 36 | if (obj) { |
| 37 | this.clearedCount = obj.clearedCount; |
| 38 | this.current = obj.current; |
| 39 | this.applyState(this.current); |
| 40 | } |
| 41 | return this.main; |
| 42 | } |
| 43 | |
| 44 | changed(initial) { |
| 45 | if (this.current.prevCount - this.clearedCount > this.main.params.worklogLimit) { |
nothing calls this directly
no test coverage detected