Skip to content

Commit 94048de

Browse files
authored
fix(web): rtl text on map is hidden (immich-app#13342)
1 parent ee461e5 commit 94048de

File tree

3 files changed

+113
-7
lines changed

3 files changed

+113
-7
lines changed

web/package-lock.json

+111-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"dependencies": {
6868
"@formatjs/icu-messageformat-parser": "^2.7.8",
6969
"@immich/sdk": "file:../open-api/typescript-sdk",
70-
"@mapbox/mapbox-gl-rtl-text": "^0.3.0",
70+
"@mapbox/mapbox-gl-rtl-text": "0.2.3",
7171
"@mdi/js": "^7.4.47",
7272
"@photo-sphere-viewer/core": "^5.7.1",
7373
"@photo-sphere-viewer/equirectangular-video-adapter": "^5.7.2",

web/src/lib/components/shared-components/map/map.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import { colorTheme, mapSettings } from '$lib/stores/preferences.store';
99
import { getAssetThumbnailUrl, handlePromiseError } from '$lib/utils';
1010
import { getServerConfig, type MapMarkerResponseDto } from '@immich/sdk';
11-
import mapboxRtlUrl from '@mapbox/mapbox-gl-rtl-text?url';
11+
import mapboxRtlUrl from '@mapbox/mapbox-gl-rtl-text/mapbox-gl-rtl-text.min.js?url';
1212
import { mdiCog, mdiMap, mdiMapMarker } from '@mdi/js';
1313
import type { Feature, GeoJsonProperties, Geometry, Point } from 'geojson';
1414
import type { GeoJSONSource, LngLatLike, StyleSpecification } from 'maplibre-gl';

0 commit comments

Comments
 (0)