mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Postgres: Fix add button (#25087)
Previously the add button on the postgres UI would break after the first usage. This was due to the button not being fully reset after use.
This commit is contained in:
parent
2724f05d5e
commit
231a32c4a3
@ -208,10 +208,12 @@ export class PostgresQueryCtrl extends QueryCtrl {
|
||||
}
|
||||
}
|
||||
|
||||
resetPlusButton(button: { html: any; value: any }) {
|
||||
resetPlusButton(button: { html: any; value: any; type: any; fake: any }) {
|
||||
const plusButton = this.uiSegmentSrv.newPlusButton();
|
||||
button.html = plusButton.html;
|
||||
button.value = plusButton.value;
|
||||
button.type = plusButton.type;
|
||||
button.fake = plusButton.fake;
|
||||
}
|
||||
|
||||
getTableSegments() {
|
||||
|
Loading…
Reference in New Issue
Block a user