mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-21 09:35:38 -05:00
added table componenet (#1542)
This commit is contained in:
@@ -137,7 +137,9 @@ export class Table<T extends Slick.SlickData> extends Widget implements IThemabl
|
||||
this._grid.onSelectedRowsChanged.subscribe(fn);
|
||||
return {
|
||||
dispose() {
|
||||
this._grid.onSelectedRowsChanged.unsubscribe(fn);
|
||||
if (this._grid && this._grid.onSelectedRowsChanged) {
|
||||
this._grid.onSelectedRowsChanged.unsubscribe(fn);
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user