mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
added context to chart buttons so they work (#2575)
This commit is contained in:
@@ -172,7 +172,7 @@ export class ChartView implements IPanelView {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// if we have the necessary information but the information isn't avaiable yet,
|
// if we have the necessary information but the information isn't available yet,
|
||||||
// we should be smart and retrying when the information might be available
|
// we should be smart and retrying when the information might be available
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -211,6 +211,7 @@ export class ChartView implements IPanelView {
|
|||||||
|
|
||||||
private updateActionbar() {
|
private updateActionbar() {
|
||||||
if (this.insight && this.insight.isCopyable) {
|
if (this.insight && this.insight.isCopyable) {
|
||||||
|
this.taskbar.context = { insight: this.insight.insight, options: this.options };
|
||||||
this.taskbar.setContent([
|
this.taskbar.setContent([
|
||||||
{ action: this._createInsightAction },
|
{ action: this._createInsightAction },
|
||||||
{ action: this._copyAction },
|
{ action: this._copyAction },
|
||||||
|
|||||||
Reference in New Issue
Block a user