Update channels map indexing indicator
This commit is contained in:
parent
811c14a6bd
commit
a2e23014f4
@ -81,7 +81,7 @@ export class NodeStatisticsChartComponent implements OnInit {
|
|||||||
color: 'grey',
|
color: 'grey',
|
||||||
fontSize: 15
|
fontSize: 15
|
||||||
},
|
},
|
||||||
text: `Loading`,
|
text: $localize`No data to display yet. Try again later.`,
|
||||||
left: 'center',
|
left: 'center',
|
||||||
top: 'center'
|
top: 'center'
|
||||||
};
|
};
|
||||||
|
@ -206,20 +206,13 @@ export class NodesChannelsMap implements OnInit {
|
|||||||
prepareChartOptions(nodes, channels) {
|
prepareChartOptions(nodes, channels) {
|
||||||
let title: object;
|
let title: object;
|
||||||
if (channels.length === 0 && !this.placeholder) {
|
if (channels.length === 0 && !this.placeholder) {
|
||||||
this.chartOptions = null;
|
|
||||||
this.showIndexingInProgress = true;
|
|
||||||
this.isLoading = false;
|
this.isLoading = false;
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// empty map fallback
|
|
||||||
if (channels.length === 0 && this.placeholder) {
|
|
||||||
title = {
|
title = {
|
||||||
textStyle: {
|
textStyle: {
|
||||||
color: 'white',
|
color: 'white',
|
||||||
fontSize: 18
|
fontSize: 18
|
||||||
},
|
},
|
||||||
text: $localize`No geolocation data available`,
|
text: $localize`No data to display yet. Try again later.`,
|
||||||
left: 'center',
|
left: 'center',
|
||||||
top: 'center'
|
top: 'center'
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user