Skip to content

Commit

Permalink
Remove 'en-US' from toLocaleString calls
Browse files Browse the repository at this point in the history
  • Loading branch information
LocalNewsTV committed Jan 7, 2025
1 parent 2e2cc74 commit 94d78a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/src/UI/Overlay/TileCache/TileCacheListRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const TileCacheListRow = ({ metadata, visible }) => {
</td>
<td>{metadata.description || metadata.id}</td>
<td>{metadata.status}</td>
<td>{stats?.tileCount?.toLocaleString('en-US')}</td>
<td>{stats?.tileCount?.toLocaleString()}</td>
<td>{stats && convertBytesToReadableString(stats.sizeInBytes)}</td>
<td>
<IconButton color={'primary'} onClick={handleEditCacheDescription}>
Expand Down
4 changes: 1 addition & 3 deletions app/src/utils/tile-cache/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,7 @@ abstract class TileCacheService {
if (progressCallback) {
progressCallback({
repository: spec.id,
message: abort
? `Aborting`
: `${processedTiles.toLocaleString('en-US')}/${totalTiles.toLocaleString('en-US')} Tiles`,
message: abort ? `Aborting` : `${processedTiles.toLocaleString()}/${totalTiles.toLocaleString()} Tiles`,
aborted: abort,
normalizedProgress: processedTiles / totalTiles,
processedTiles,
Expand Down

0 comments on commit 94d78a9

Please sign in to comment.