mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +07:00
maplistdialog: opening route disables editing
This commit is contained in:
parent
364f6b165e
commit
32904955a9
1 changed files with 3 additions and 2 deletions
|
@ -88,10 +88,11 @@ class Component extends React.Component<IMapListDialogProps, IMapListDialogState
|
|||
if (isMobile()) this.props.setDialogActive(false);
|
||||
|
||||
// pushPath(`/${_id}/${this.props.editing ? 'edit' : ''}`);
|
||||
pushPath(`/${_id}`);
|
||||
this.stopEditing();
|
||||
|
||||
pushPath(`/${_id}/${this.props.editing ? 'edit' : ''}`);
|
||||
pushPath(`/${_id}`);
|
||||
|
||||
// pushPath(`/${_id}/${this.props.editing ? 'edit' : ''}`);
|
||||
};
|
||||
|
||||
onScroll = (e: { target: { scrollHeight: number, scrollTop: number, clientHeight: number }}): void => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue