Skip to content

Commit

Permalink
feat: supports modify project schedule from modal
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenull committed May 31, 2022
1 parent 7bcc820 commit 5798c75
Show file tree
Hide file tree
Showing 8 changed files with 108 additions and 318 deletions.
3 changes: 2 additions & 1 deletion src/ModalApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ type IEditSchedule = {
initialValues?: IScheduleValue
type?: 'create' | 'update'
}
showKeepRef?: boolean
}
type IInsertTodaySchedule = {
type: 'insertTodaySchedule'
Expand Down Expand Up @@ -40,7 +41,7 @@ const ModalApp: React.FC<IModalAppProps> = (props) => {
type === 'editSchedule' && (
<ModifySchedule
visible
showKeepRef
showKeepRef={props.showKeepRef}
type={props.data.type}
initialValues={props.data.initialValues}
onSave={onSave}
Expand Down
264 changes: 0 additions & 264 deletions src/components/ModifyProjectSchedule.tsx

This file was deleted.

Loading

0 comments on commit 5798c75

Please sign in to comment.