Add TODO comment for refactoring
This commit is contained in:
@@ -62,6 +62,8 @@ class App extends Component {
|
|||||||
@computed get changesetWithDefaults() {
|
@computed get changesetWithDefaults() {
|
||||||
const { service, projects, lastProjectId, lastTaskId } = this.props
|
const { service, projects, lastProjectId, lastTaskId } = this.props
|
||||||
|
|
||||||
|
// TODO: extract project, task and billable to own methods
|
||||||
|
|
||||||
const project =
|
const project =
|
||||||
findProjectByValue(this.changeset.assignment_id)(projects) ||
|
findProjectByValue(this.changeset.assignment_id)(projects) ||
|
||||||
findProjectByIdentifier(service?.projectId)(projects) ||
|
findProjectByIdentifier(service?.projectId)(projects) ||
|
||||||
|
|||||||
Reference in New Issue
Block a user