Skip to content

Commit

Permalink
Merge pull request archeun#4 from ArunaTebel/master
Browse files Browse the repository at this point in the history
improvements to the estimate progress screen
  • Loading branch information
ArunaTebel authored Nov 9, 2019
2 parents a1a521a + cf014f2 commit 8de3236
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 2 additions & 1 deletion src/components/ArchestEstimateProgressComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,11 @@ class ArchestEstimateProgressComponent extends Component {
}

ArchestHttp.GET(url, {}).then((response) => {
activityOrSubActivity.status_name = type === ACTIVITY ? response.data.results.activity.status_name : response.data.results.sub_activity.status_name
this.setState({
workEntriesModalProps: {
show: true,
workEntries: response.data.results,
workEntries: response.data.results.work_entries,
activityOrSubActivity: activityOrSubActivity,
onCancel: () => {
this.setState({
Expand Down
5 changes: 0 additions & 5 deletions src/components/ArchestEstimateWorkEntriesModalComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ class ArchestEstimateWorkEntriesModalComponent extends Component {

constructor(props) {
super(props);
this.state = {
phaseResources: [],
dataLoaded: false,
resourceSharingOptions: []
};
this.onCancel = this.onCancel.bind(this);
}

Expand Down

0 comments on commit 8de3236

Please sign in to comment.