@christianriedl/media 1.0.143 → 1.0.145
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/dist/mediaHelper.js
CHANGED
|
@@ -60,7 +60,7 @@ export class MediaHelper {
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
static getPhotoDisplayName(folder, pictureFile, pictureLocations, album) {
|
|
63
|
-
let pictureName = "
|
|
63
|
+
let pictureName = "|";
|
|
64
64
|
const url = folder.Url + pictureFile.Url;
|
|
65
65
|
if (!url.includes(pictureFile.Name)) {
|
|
66
66
|
pictureName = pictureFile.Name;
|
package/package.json
CHANGED
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
if (folder.CreatorIdx >= 0) {
|
|
90
90
|
const pictureLocations = mediaService.pictureLocation;
|
|
91
91
|
if (folder.altColor) {
|
|
92
|
-
if (appConfig.theme
|
|
92
|
+
if (appConfig.theme !== 'light')
|
|
93
93
|
classes.push('altColorDark');
|
|
94
94
|
else
|
|
95
95
|
classes.push('altColorLight')
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
nameLength = 12; // Person
|
|
208
208
|
else {
|
|
209
209
|
//nameLength = 32; // Album
|
|
210
|
-
if (folder.Folders && folder.Folders[0].ItemType == EItemType.PictureAlbum) {
|
|
210
|
+
if (folder.Folders && folder.Folders.length > 0 && folder.Folders[0].ItemType == EItemType.PictureAlbum) {
|
|
211
211
|
showAlbums.value = true;
|
|
212
212
|
return 12;
|
|
213
213
|
}
|
|
@@ -272,10 +272,10 @@
|
|
|
272
272
|
}
|
|
273
273
|
|
|
274
274
|
.altColorDark {
|
|
275
|
-
background-color:
|
|
275
|
+
background-color: #b32d00;
|
|
276
276
|
}
|
|
277
277
|
|
|
278
278
|
.altColorLight {
|
|
279
|
-
background-color:
|
|
279
|
+
background-color: #ffc3b3;
|
|
280
280
|
}
|
|
281
281
|
</style>
|