mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
fix search action (#14937)
* fix search action * remove book version from book tree item
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user