fix:修复endpoint-query 的save chart无法创建新panel的问题

This commit is contained in:
wangwenrui
2020-10-23 11:57:29 +08:00
parent 0e96e1c811
commit 98a2b26cd1
2 changed files with 2 additions and 2 deletions

View File

@@ -675,7 +675,7 @@
panelId = this.panelId;
panel=this.panelData.find(p => p.id === this.panelId);
resolve()
} else if (this.showPanel && this.showPanel.type != "dashboard" && this.showPanel.type != 'explore') {
} else if (this.showPanel && this.showPanel.type != "dashboard" && this.showPanel.type != 'explore'&& this.showPanel.type != 'endpointQuery') {
panelId = this.panelData[0].id;
panel = this.panelData[0]
resolve()