Minor fixes
This commit is contained in:
parent
2788c37492
commit
3f2e836a83
|
@ -984,7 +984,7 @@
|
||||||
achievements: {
|
achievements: {
|
||||||
defaults: {
|
defaults: {
|
||||||
format: "|08 > |10{title} |08(|11{points} |03points|08)\r\n\r\n {message}"
|
format: "|08 > |10{title} |08(|11{points} |03points|08)\r\n\r\n {message}"
|
||||||
globalformat: "|08 > |10{title} |08(|11{points} |03points|08)\r\n\r\n {message}"
|
globalFormat: "|08 > |10{title} |08(|11{points} |03points|08)\r\n\r\n {message}"
|
||||||
titleSGR: "|10"
|
titleSGR: "|10"
|
||||||
pointsSGR: "|12"
|
pointsSGR: "|12"
|
||||||
textSGR: "|00|03"
|
textSGR: "|00|03"
|
||||||
|
|
|
@ -485,7 +485,7 @@ class Achievements {
|
||||||
};
|
};
|
||||||
if(headerArt || footerArt) {
|
if(headerArt || footerArt) {
|
||||||
const themeDefaults = _.get(info.client.currentTheme, 'achievements.defaults', {});
|
const themeDefaults = _.get(info.client.currentTheme, 'achievements.defaults', {});
|
||||||
const defaultContentsFormat = '{title}\r\n${message}';
|
const defaultContentsFormat = '{title}\r\n{message}';
|
||||||
const contentsFormat = 'global' === itemType ?
|
const contentsFormat = 'global' === itemType ?
|
||||||
themeDefaults.globalFormat || defaultContentsFormat :
|
themeDefaults.globalFormat || defaultContentsFormat :
|
||||||
themeDefaults.format || defaultContentsFormat;
|
themeDefaults.format || defaultContentsFormat;
|
||||||
|
|
Loading…
Reference in New Issue