Skip to content

Commit

Permalink
updating input control vis
Browse files Browse the repository at this point in the history
  • Loading branch information
ppisljar committed Feb 5, 2020
1 parent 75731fc commit 5e7d1bd
Showing 1 changed file with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,12 @@ export const createInputControlVisController = (deps: InputControlVisDependencie
}

async render(visData: any, visParams: VisParams, status: any) {
if (status.params || (visParams.useTimeFilter && status.time)) {
this.visParams = visParams;
this.controls = [];
this.controls = await this.initControls();
const [{ i18n }] = await deps.core.getStartServices();
this.I18nContext = i18n.Context;
this.drawVis();
}
this.visParams = visParams;
this.controls = [];
this.controls = await this.initControls();
const [{ i18n }] = await deps.core.getStartServices();
this.I18nContext = i18n.Context;
this.drawVis();
}

destroy() {
Expand Down

0 comments on commit 5e7d1bd

Please sign in to comment.