diff options
author | Anton Tananaev <anton@traccar.org> | 2022-06-20 06:44:37 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-06-20 06:44:37 -0700 |
commit | 8d56a292a5df90c00699f01e9188d7185a9b18af (patch) | |
tree | a4b4ce5b1a2d447d99aff9e7445389e4a12bbaff /modern | |
parent | 652910400f87fa3e143a75d6587cd8d0f50d5778 (diff) | |
download | trackermap-web-8d56a292a5df90c00699f01e9188d7185a9b18af.tar.gz trackermap-web-8d56a292a5df90c00699f01e9188d7185a9b18af.tar.bz2 trackermap-web-8d56a292a5df90c00699f01e9188d7185a9b18af.zip |
Fix custom map
Diffstat (limited to 'modern')
-rw-r--r-- | modern/src/map/core/useMapStyles.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/map/core/useMapStyles.js b/modern/src/map/core/useMapStyles.js index bbdf0ea9..8f1423f1 100644 --- a/modern/src/map/core/useMapStyles.js +++ b/modern/src/map/core/useMapStyles.js @@ -153,7 +153,7 @@ export default () => { { id: 'custom', title: t('mapCustom'), - style: styleCustom(customMapUrl), + style: styleCustom([customMapUrl]), available: !!customMapUrl, }, ]; |