osrm service checking

This commit is contained in:
muerwre 2019-03-05 16:48:30 +07:00
parent 143f3107e1
commit 9744b0dfd5
8 changed files with 74 additions and 29 deletions

View file

@ -48,7 +48,8 @@ class Component extends React.Component<Props, State> {
openRoute = (_id: string): void => {
if (isMobile()) this.props.setDialogActive(false);
pushPath(`/${_id}/${this.props.editing ? 'edit' : ''}`);
// pushPath(`/${_id}/${this.props.editing ? 'edit' : ''}`);
pushPath(`/${_id}`);
};
onScroll = (e: { target: { scrollHeight: number, scrollTop: number, clientHeight: number }}): void => {