Skip to content

Commit

Permalink
Fix an issue in list item Add (#3423)
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-w-opus authored and chenshuai2144 committed Jan 18, 2019
1 parent 8ce6a73 commit 19eac94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/List/BasicList.js
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ class BasicList extends PureComponent {
</Card>
</div>
<Modal
title={done ? null : `任务${current ? '编辑' : '添加'}`}
title={done ? null : `任务${current.id ? '编辑' : '添加'}`}
className={styles.standardListForm}
width={640}
bodyStyle={done ? { padding: '72px 0' } : { padding: '28px 0 0' }}
Expand Down

0 comments on commit 19eac94

Please sign in to comment.