feat(*): add image grids for album and associated media displays

This commit is contained in:
Cory Dransfeldt 2025-05-24 17:19:30 -07:00
parent 9b4baad5fb
commit 36fbba761a
No known key found for this signature in database
53 changed files with 1179 additions and 764 deletions

View file

@ -9,7 +9,10 @@ export default {
return string.replace(pattern, replacement);
},
replaceQuotes: (string) => string.replace(/"/g, """),
replaceQuotes: (string) => {
if (!string) return '';
return string.replace(/"/g, """);
},
htmlTruncate: (content, limit = 50) => truncateHtml(content, limit, {
byWords: true,
ellipsis: "...",