This commit is contained in:
@@ -189,6 +189,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function renderRouteControl() {
|
function renderRouteControl() {
|
||||||
|
const routeControlLists = $('.route-control-list');
|
||||||
|
routeControlLists.attr('aria-busy', 'true');
|
||||||
|
|
||||||
|
$('#route-control-server-title').text(`Aktive Strecken (${state.routes.length})`);
|
||||||
|
$('#route-control-local-title').text(`Lokale Strecken (${state.localRoutes.length})`);
|
||||||
|
$('#local-route-title').text(`Lokale Strecken (${state.localRoutes.length})`);
|
||||||
|
|
||||||
updateRouteControlSummary();
|
updateRouteControlSummary();
|
||||||
renderRouteControlList(
|
renderRouteControlList(
|
||||||
'#route-control-server-list',
|
'#route-control-server-list',
|
||||||
@@ -202,6 +209,8 @@
|
|||||||
'local',
|
'local',
|
||||||
state.localRoutesError || 'Noch keine lokale Strecke vorhanden.'
|
state.localRoutesError || 'Noch keine lokale Strecke vorhanden.'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
routeControlLists.attr('aria-busy', 'false');
|
||||||
}
|
}
|
||||||
|
|
||||||
function renderRoutes() {
|
function renderRoutes() {
|
||||||
|
|||||||
Reference in New Issue
Block a user