Added colors to tasks
This commit is contained in:
parent
84b20ef32b
commit
cd4dc92a95
6 changed files with 80 additions and 8 deletions
|
|
@ -69,6 +69,10 @@ export default class TaskService extends AbstractService {
|
|||
}
|
||||
model.repeatAfter = repeatAfterSeconds
|
||||
|
||||
if (model.hexColor.substring(0, 1) === '#') {
|
||||
model.hexColor = model.hexColor.substring(1, 7)
|
||||
}
|
||||
|
||||
return model
|
||||
}
|
||||
}
|
||||
Reference in a new issue