diff --git a/src/components/widgets/greeting/Greeting.jsx b/src/components/widgets/greeting/Greeting.jsx index 1e93e029..13b91b67 100644 --- a/src/components/widgets/greeting/Greeting.jsx +++ b/src/components/widgets/greeting/Greeting.jsx @@ -84,7 +84,7 @@ export default class Greeting extends React.PureComponent { // Birthday const birth = new Date(localStorage.getItem('birthday')); if (localStorage.getItem('birthdayenabled') === 'true' && birth.getDate() === now.getDate() && birth.getMonth() === now.getMonth()) { - if (localStorage.getItem('birthdayage')) { + if (localStorage.getItem('birthdayage') === 'true') { const text = this.language.birthday.split(' '); message = `${text[0]} ${dtf.nth(this.calculateAge(birth))} ${text[1]}`; } else {