mirror of
https://github.com/mue/mue.git
synced 2026-07-26 10:11:15 +02:00
fix: greeting date picker, addons sort dropdown
This commit is contained in:
@@ -15,10 +15,10 @@ export default class GreetingSettings extends PureComponent {
|
||||
}
|
||||
|
||||
changeDate = (e) => {
|
||||
localStorage.setItem('birthday', e.target.value);
|
||||
localStorage.setItem('birthday', e.target.value || new Date());
|
||||
|
||||
this.setState({
|
||||
birthday: new Date(e.target.value)
|
||||
birthday: e.target.value ? new Date(e.target.value) : new Date()
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user