Added actor stash.

This commit is contained in:
2024-03-21 02:54:05 +01:00
parent 9b50b53df6
commit a8aab600c7
37 changed files with 1292 additions and 490 deletions

11
utils/ellipsis.js Normal file
View File

@@ -0,0 +1,11 @@
export default function ellipsis(text, limit = 50, ellipse = '...') {
if (!text) {
return '';
}
if (text.length > limit) {
return `${text.slice(0, limit - ellipse.length)}${ellipse}`;
}
return text;
}