Skip to content

Commit

Permalink
shijian
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Sep 22, 2017
1 parent bd70845 commit a1a4d81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/PROPERTY/components/Contract/SubletAddUp.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ class SubletAddUp extends React.Component {
phoneFinance: SubletInfo.phoneFinance,
phoneManager: SubletInfo.phoneManager,
email: SubletInfo.email,
subletStartDate: moment(SubletInfo.subletStartDate),
subletEndDate: moment(SubletInfo.subletEndDate),
subletStartDate: SubletInfo.subletStartDate ? moment(SubletInfo.subletStartDate) : null,
subletEndDate: SubletInfo.subletEndDate ? moment(SubletInfo.subletEndDate) : null,
roomNum: SubletInfo.roomNum.split(','),
energy: SubletInfo.energy
})
Expand Down

0 comments on commit a1a4d81

Please sign in to comment.