mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-03 14:26:07 +00:00
`Fixes #3465` Add config option `specialDayUnique` that defaults to `false` and causes special day compliments to be added to the existing compliments array. Setting this option to `true` will only show the compliments that have been configured for that day. --------- Co-authored-by: Veeck <github@veeck.de> Co-authored-by: veeck <michael.veeck@nebenan.de> Co-authored-by: Karsten Hassel <hassel@gmx.de>
23 lines
442 B
JavaScript
23 lines
442 B
JavaScript
let config = {
|
|
modules: [
|
|
{
|
|
module: "compliments",
|
|
position: "middle_center",
|
|
config: {
|
|
specialDayUnique: false,
|
|
compliments: {
|
|
anytime: [
|
|
"Typical message 1",
|
|
"Typical message 2",
|
|
"Typical message 3"
|
|
],
|
|
"....-..-..": ["Special day message"]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
};
|
|
|
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
|
if (typeof module !== "undefined") { module.exports = config; }
|