mirror of
https://github.com/wassname/talk.git
synced 2026-08-09 12:30:42 +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:
@@ -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