diff --git a/public/app/plugins/datasource/postgres/query_ctrl.ts b/public/app/plugins/datasource/postgres/query_ctrl.ts index 47bd8af72e3..49734f21192 100644 --- a/public/app/plugins/datasource/postgres/query_ctrl.ts +++ b/public/app/plugins/datasource/postgres/query_ctrl.ts @@ -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() {