Added colors to tasks

This commit is contained in:
kolaente 2019-04-30 22:18:06 +02:00
parent 84b20ef32b
commit cd4dc92a95
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
6 changed files with 80 additions and 8 deletions

View file

@ -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
}
}