File tree Expand file tree Collapse file tree
src/where_the_plow/static Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -936,9 +936,8 @@ function updateVehicleCount(data) {
936936 . then ( ( r ) => r . json ( ) )
937937 . then ( ( stats ) => {
938938 if ( stats . db_size_bytes ) {
939- const el = document . getElementById ( "db-size" ) ;
940- el . textContent = formatBytes ( stats . db_size_bytes ) + " of data" ;
941- el . style . display = "" ;
939+ document . getElementById ( "db-size" ) . textContent =
940+ formatBytes ( stats . db_size_bytes ) + " of data" ;
942941 }
943942 } )
944943 . catch ( ( ) => { } ) ;
@@ -1554,7 +1553,7 @@ class PlowApp {
15541553 this . map . setVehiclesVisible ( false ) ;
15551554 this . map . setMiniTrailsVisible ( false ) ;
15561555 document . getElementById ( "vehicle-count" ) . style . display = "none" ;
1557- document . getElementById ( "db-size" ) . style . display = "none " ;
1556+ document . getElementById ( "db-size" ) . style . display = "" ;
15581557 vehicleHint . style . display = "none" ;
15591558 coveragePanelEl . style . display = "block" ;
15601559 this . updatePlaybackAvailability ( ) ;
You can’t perform that action at this time.
0 commit comments