feat(*): add image grids for album and associated media displays
This commit is contained in:
parent
9b4baad5fb
commit
0173438b70
50 changed files with 1122 additions and 746 deletions
|
@ -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: "...",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue