1
0

Added colors to tasks

This commit is contained in:
kolaente
2019-04-30 22:18:06 +02:00
parent 84b20ef32b
commit cd4dc92a95
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
}
}