fix search action (#14937)

* fix search action

* remove book version from book tree item
This commit is contained in:
Barbara Valdez
2021-04-01 11:16:32 -07:00
committed by GitHub
parent 37af88e265
commit a00ffa0469
4 changed files with 7 additions and 9 deletions

View File

@@ -41,7 +41,6 @@ export class BookTreeItem extends vscode.TreeItem {
private _uri: string | undefined;
private _previousUri: string;
private _nextUri: string;
public readonly version: BookVersion;
public command: vscode.Command;
public resourceUri: vscode.Uri;
private _rootContentPath: string;
@@ -52,7 +51,6 @@ export class BookTreeItem extends vscode.TreeItem {
if (book.type === BookTreeItemType.Book) {
this.collapsibleState = book.treeItemCollapsibleState;
this._sections = book.page;
this.version = book.version;
if (book.isUntitled) {
this.contextValue = BookTreeItemType.providedBook;
} else {