@christianriedl/media 1.0.254 → 1.0.255

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@christianriedl/media",
3
- "version": "1.0.254",
3
+ "version": "1.0.255",
4
4
  "description": "RIC media interfaces",
5
5
 
6
6
  "main": "dist/index.js",
@@ -232,7 +232,7 @@
232
232
  const albumUrl = mediaService.getFolder(photo.dlnaParentId).url;
233
233
  photoUrl = mediaService.getPhotoUrl(albumUrl, photo.url, `${0}x${photoHeight.value}x${photo.orientation}x70`);
234
234
  console.log (`left:${left} w:${photoWidth.value} h:${photoHeight.value} : ${photoUrl}`);
235
- photoTitle = photo.title ? photo.title ? photo.name;
235
+ photoTitle = photo.title ? photo.title : photo.name;
236
236
  showPhoto.value = true;
237
237
  }
238
238
  function createPin(loc: google.maps.LatLng, text: string, color: string, background: string): google.maps.marker.AdvancedMarkerElement {