fix(dashboard): fix twemoji CDN

This commit is contained in:
Jake
2023-01-15 09:24:40 +01:00
parent 4d4852caf6
commit bf3168460b
9 changed files with 20 additions and 20 deletions

View File

@@ -52,7 +52,7 @@
let listGroupElements: any[] = [];
$: if (settings && settings.appearance.twemoji) {
if (listGroupElements && listGroupElements.length > 0) {
listGroupElements.forEach(element => element && twemoji.parse(element));
listGroupElements.forEach(element => element && twemoji.parse(element), { base: 'https://cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/' });
};
}