diff --git a/view.js b/view.js index b84e09f..d59c2f4 100644 --- a/view.js +++ b/view.js @@ -269,6 +269,7 @@ export class View { label: this.#tocProgress.getProgress(result.index)?.label ?? '', subitems: result.subitems, } : result + yield 'done' } destroy() { this.book.destroy?.()