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