|
|
|
@ -685,6 +685,7 @@ export class WidgetComponent extends PageComponent implements OnInit, OnChanges, |
|
|
|
} |
|
|
|
|
|
|
|
private reInitImpl() { |
|
|
|
this.displayNoData = false; |
|
|
|
this.onDestroy(); |
|
|
|
if (!this.typeParameters.useCustomDatasources) { |
|
|
|
this.createDefaultSubscription().subscribe({ |
|
|
|
@ -728,7 +729,6 @@ export class WidgetComponent extends PageComponent implements OnInit, OnChanges, |
|
|
|
subscriptionChanged = subscriptionChanged || subscription.onAliasesChanged(aliasIds); |
|
|
|
} |
|
|
|
if (subscriptionChanged && !this.typeParameters.useCustomDatasources) { |
|
|
|
this.displayNoData = false; |
|
|
|
this.reInit(); |
|
|
|
} |
|
|
|
} |
|
|
|
@ -742,7 +742,6 @@ export class WidgetComponent extends PageComponent implements OnInit, OnChanges, |
|
|
|
subscriptionChanged = subscriptionChanged || subscription.onFiltersChanged(filterIds); |
|
|
|
} |
|
|
|
if (subscriptionChanged && !this.typeParameters.useCustomDatasources) { |
|
|
|
this.displayNoData = false; |
|
|
|
this.reInit(); |
|
|
|
} |
|
|
|
} |
|
|
|
|