diff options
author | crupest <crupest@outlook.com> | 2021-01-12 22:01:51 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-01-12 22:01:51 +0800 |
commit | 2bb2377601c44ab406fade8e7bfdc888900abe7f (patch) | |
tree | 99bead7a10b8b134dae8301bf643c3bdff9491ff /FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx | |
parent | b462b3c380258a9a300fce8709530541f2376d92 (diff) | |
download | timeline-2bb2377601c44ab406fade8e7bfdc888900abe7f.tar.gz timeline-2bb2377601c44ab406fade8e7bfdc888900abe7f.tar.bz2 timeline-2bb2377601c44ab406fade8e7bfdc888900abe7f.zip |
...
Diffstat (limited to 'FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx')
-rw-r--r-- | FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx b/FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx index e4d414b9..8422077a 100644 --- a/FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx +++ b/FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx @@ -173,14 +173,8 @@ export default function TimelinePageTemplate<TManageItem>( <TimelinePropertyChangeDialog open close={closeDialog} - oldInfo={{ - title: timeline.title, - visibility: timeline.visibility, - description: timeline.description, - }} - onProcess={(req) => { - return service.changeTimelineProperty(name, req).toPromise().then(); - }} + timeline={timeline} + onProcess={(req) => service.changeTimelineProperty(name, req)} /> ); } else if (dialog === "member") { |