feat(*): add image grids for album and associated media displays
This commit is contained in:
parent
9b4baad5fb
commit
36fbba761a
53 changed files with 1179 additions and 764 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