mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
Add tags to default tasks (#8419)
* Add ability to add tags to default tasks * fix missing semicolon * fix nesting callbacks error * Add tags to default tasks * fix default tags * Start test * Finish test * Fix tests * Move test * Fix padded-bock * Fix test * Fix request * fix requests * fix test * fix lint * Refine test * Fix test * Fix Test * Fix tests * Please work :( * Fix stupid mistake * Fix lint * Fixes * fix function * fix lint * fix lint
This commit is contained in:
committed by
Matteo Pagliazzi
parent
4fb1ff2baa
commit
207dbf35d6
@@ -2999,6 +2999,11 @@ api.userDefaults = {
|
||||
up: true,
|
||||
down: false,
|
||||
attribute: 'per',
|
||||
tags: [
|
||||
t('defaultTag1'), // Work
|
||||
t('defaultTag4'), // School
|
||||
t('defaultTag6'), // Chores
|
||||
],
|
||||
}, {
|
||||
type: 'habit',
|
||||
text: t('defaultHabit2Text'),
|
||||
@@ -3006,6 +3011,9 @@ api.userDefaults = {
|
||||
up: false,
|
||||
down: true,
|
||||
attribute: 'str',
|
||||
tags: [
|
||||
t('defaultTag3'), // Health + Wellness
|
||||
],
|
||||
}, {
|
||||
type: 'habit',
|
||||
text: t('defaultHabit3Text'),
|
||||
@@ -3013,6 +3021,10 @@ api.userDefaults = {
|
||||
up: true,
|
||||
down: true,
|
||||
attribute: 'str',
|
||||
tags: [
|
||||
t('defaultTag2'), // Exercise
|
||||
t('defaultTag3'), // Health + Wellness
|
||||
],
|
||||
},
|
||||
],
|
||||
dailys: [],
|
||||
|
||||
Reference in New Issue
Block a user