aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-01-12 22:01:51 +0800
committercrupest <crupest@outlook.com>2021-01-12 22:01:51 +0800
commit2bb2377601c44ab406fade8e7bfdc888900abe7f (patch)
tree99bead7a10b8b134dae8301bf643c3bdff9491ff /FrontEnd/src/app/views/timeline-common/TimelinePageTemplate.tsx
parentb462b3c380258a9a300fce8709530541f2376d92 (diff)
downloadtimeline-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.tsx10
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") {