mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
add check to remove errors (#4412)
This commit is contained in:
@@ -53,9 +53,13 @@ export class NodeContextKey extends Disposable implements IContextKey<INodeConte
|
|||||||
this._connectedKey.set(false);
|
this._connectedKey.set(false);
|
||||||
this._connectionContextKey.reset();
|
this._connectionContextKey.reset();
|
||||||
}
|
}
|
||||||
|
if (value.node) {
|
||||||
|
this._viewItemKey.set(value.node.contextValue);
|
||||||
|
} else {
|
||||||
|
this._viewItemKey.reset();
|
||||||
|
}
|
||||||
this._nodeContextKey.set(value);
|
this._nodeContextKey.set(value);
|
||||||
this._viewIdKey.set(value.viewId);
|
this._viewIdKey.set(value.viewId);
|
||||||
this._viewItemKey.set(value.node.contextValue);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
reset(): void {
|
reset(): void {
|
||||||
|
|||||||
Reference in New Issue
Block a user