Compare commits
No commits in common. "0955e2cfc3b1982d7677a33ca38fff82ba406f1a" and "776f8a2844e2999c495ce55e7c0330b07bf1c356" have entirely different histories.
0955e2cfc3
...
776f8a2844
@ -167,9 +167,8 @@ const defaultButtons = {
|
|||||||
|
|
||||||
// Assign default values if translations are not present
|
// Assign default values if translations are not present
|
||||||
Object.keys(defaultButtons).forEach(key => {
|
Object.keys(defaultButtons).forEach(key => {
|
||||||
translations.composer[key + "_title"] = settings[key] && settings[key].default ? settings[key].default : defaultButtons[key];
|
translations.composer[key + "_title"] = settings[key] ? settings[key].default : defaultButtons[key];
|
||||||
translations.composer[key + "_text"] = settings[key + "_text"] && settings[key + "_text"].default ? settings[key + "_text"].default : defaultButtons[key];
|
translations.composer[key + "_text"] = settings[key + "_text"] ? settings[key + "_text"].default : defaultButtons[key];
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user