Close stream dialog starting new manual stream
This commit is contained in:
@ -39,8 +39,9 @@ function NewStream({ ev, onFinish }: StreamEditorProps) {
|
|||||||
location.href = `${__XXX_HOST}/${eventLink(ex)}`;
|
location.href = `${__XXX_HOST}/${eventLink(ex)}`;
|
||||||
} else {
|
} else {
|
||||||
navigate(`/${eventLink(ex)}`, {
|
navigate(`/${eventLink(ex)}`, {
|
||||||
state: ev,
|
state: ex,
|
||||||
});
|
});
|
||||||
|
onFinish?.(ex);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
onFinish?.(ev);
|
onFinish?.(ev);
|
||||||
|
Reference in New Issue
Block a user