Add TODO comment for refactoring

This commit is contained in:
Manuel Bouza
2019-04-06 12:41:01 +02:00
parent 2fbf56fc59
commit 516406b298

View File

@@ -62,6 +62,8 @@ class App extends Component {
@computed get changesetWithDefaults() {
const { service, projects, lastProjectId, lastTaskId } = this.props
// TODO: extract project, task and billable to own methods
const project =
findProjectByValue(this.changeset.assignment_id)(projects) ||
findProjectByIdentifier(service?.projectId)(projects) ||