mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
Client Tasks (#8894)
* fix filter button style * display completed todos * fix reward control position * begin to add edit modal * start adding settings to edit modal * add task saving, creating and deleting * fixes * add tags and repeat frequency for habits * clicking on links should not open the edit modal * checklist editing * repeatables and checklists * delete checklist items * add rewards price * update shrinkwrap * pin cwait
This commit is contained in:
@@ -37,6 +37,11 @@ export function getTaskClasses (store) {
|
||||
return 'task-purple';
|
||||
case 'editModal':
|
||||
return type === 'reward' ? 'task-purple' : getTaskColorByValue(task.value);
|
||||
case 'controlCreate':
|
||||
return {
|
||||
up: task.up ? 'task-purple' : 'task-habit-disabled',
|
||||
down: task.down ? 'task-purple' : 'task-habit-disabled',
|
||||
};
|
||||
case 'control':
|
||||
switch (type) {
|
||||
case 'daily':
|
||||
|
||||
Reference in New Issue
Block a user