mirror of
https://github.com/wassname/talk.git
synced 2026-10-04 13:10:23 +08:00
[CORL-450] Embed Code copy (#2411)
* fix: adjusted copy in embed code * fix: adjusted translation message API * fix: fixed tests
This commit is contained in:
1 parent
d73bdc7eec
commit
0c97ba0f4a
4 files changed
+44
-10
No files matched your search
@@ -13,5 +13,9 @@ export default function getMessage(
|
||||
}
|
||||
return val || got;
|
||||
}, "");
|
||||
if (res && Array.isArray(res)) {
|
||||
return res.join("");
|
||||
}
|
||||
|
||||
return res || defaultTo;
|
||||
}
|
||||
Reference in new issue
Block a user