diff options
| author | crupest <crupest@outlook.com> | 2023-07-28 00:40:58 +0800 |
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2023-07-28 00:41:30 +0800 |
| commit | a9dc6b16d6730d8d1dc1ea2fab8ab3830fe56ce4 (patch) | |
| tree | 98b1c06da608f52df10e79064237c659b0550d10 /FrontEnd/src/views/timeline | |
| parent | dba8216b13a9473fd25674905e3048084794941e (diff) | |
| download | timeline-a9dc6b16d6730d8d1dc1ea2fab8ab3830fe56ce4.tar.gz timeline-a9dc6b16d6730d8d1dc1ea2fab8ab3830fe56ce4.tar.bz2 timeline-a9dc6b16d6730d8d1dc1ea2fab8ab3830fe56ce4.zip | |
...
Diffstat (limited to 'FrontEnd/src/views/timeline')
3 files changed, 3 insertions, 3 deletions
diff --git a/FrontEnd/src/views/timeline/PostPropertyChangeDialog.tsx b/FrontEnd/src/views/timeline/PostPropertyChangeDialog.tsx index fc55185c..76f542c1 100644 --- a/FrontEnd/src/views/timeline/PostPropertyChangeDialog.tsx +++ b/FrontEnd/src/views/timeline/PostPropertyChangeDialog.tsx @@ -15,7 +15,7 @@ function PostPropertyChangeDialog(props: { return ( <OperationDialog title="timeline.changePostPropertyDialog.title" - onClose={onClose} + close={onClose} open={open} inputScheme={[ { diff --git a/FrontEnd/src/views/timeline/TimelineDeleteDialog.tsx b/FrontEnd/src/views/timeline/TimelineDeleteDialog.tsx index c960b3c2..3b5ba42f 100644 --- a/FrontEnd/src/views/timeline/TimelineDeleteDialog.tsx +++ b/FrontEnd/src/views/timeline/TimelineDeleteDialog.tsx @@ -20,7 +20,7 @@ const TimelineDeleteDialog: React.FC<TimelineDeleteDialog> = (props) => { return ( <OperationDialog open={props.open} - onClose={props.close} + close={props.close} title="timeline.deleteDialog.title" themeColor="danger" inputPrompt={() => { diff --git a/FrontEnd/src/views/timeline/TimelinePropertyChangeDialog.tsx b/FrontEnd/src/views/timeline/TimelinePropertyChangeDialog.tsx index bd5bef4c..a0eebdbb 100644 --- a/FrontEnd/src/views/timeline/TimelinePropertyChangeDialog.tsx +++ b/FrontEnd/src/views/timeline/TimelinePropertyChangeDialog.tsx @@ -55,7 +55,7 @@ const TimelinePropertyChangeDialog: React.FC< ] as const } open={props.open} - onClose={props.close} + close={props.close} onProcess={([newTitle, newVisibility, newDescription, newColor]) => { const req: HttpTimelinePatchRequest = {}; if (newTitle !== timeline.title) { |
