mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-14 18:22:21 +00:00
fix(events): handle new spacer
This commit is contained in:
parent
9455f996ef
commit
142fdfe743
1 changed files with 1 additions and 2 deletions
|
|
@ -15,8 +15,7 @@ import t from '../../../translation';
|
|||
|
||||
const CURRENT_SEASON = moment().isBefore('2020-11-02') ? 'fall' : '_NONE_';
|
||||
const gearEvents = cloneDeep(EVENTS);
|
||||
gearEvents.fall2020.end = gearEvents.fall2020SecondPromo.end;
|
||||
['winter', 'birthday', 'gaymerx', 'fall2020Interim', 'fall2020SecondPromo'].forEach(nonGearEvent => {
|
||||
['winter', 'birthday', 'gaymerx', 'noCurrentEvent'].forEach(nonGearEvent => {
|
||||
delete gearEvents[nonGearEvent];
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue