mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
Client Fixed (#9017)
* fix spacing between rewards and items * fix rewards description * rewards cost in bold * fix gp notifications * fix dailies gray text * fix cancel in task edit modal * tags: use AND not OR for filtering * fix tasksDefaults so that monthlies can be created correctly * tags: usable if no task selected, saving checklist and tags saved the one being added without requiting to press enter * remove tags from tasks when they are deleted * fix tags removal when multiple tags are deleted and fix tags editing
This commit is contained in:
@@ -25,8 +25,13 @@ module.exports = function taskDefaults (task = {}) {
|
||||
challenge: {
|
||||
shortName: 'None',
|
||||
},
|
||||
group: {},
|
||||
yesterDaily: true,
|
||||
group: {
|
||||
approval: {
|
||||
required: false,
|
||||
approved: false,
|
||||
requested: false,
|
||||
},
|
||||
},
|
||||
reminders: [],
|
||||
attribute: 'str',
|
||||
createdAt: new Date(), // TODO these are going to be overwritten by the server...
|
||||
@@ -74,6 +79,9 @@ module.exports = function taskDefaults (task = {}) {
|
||||
startDate: moment().startOf('day').toDate(),
|
||||
everyX: 1,
|
||||
frequency: 'weekly',
|
||||
daysOfMonth: [],
|
||||
weeksOfMonth: [],
|
||||
yesterDaily: true,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user