mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
triggering on-something-changed
This commit is contained in:
parent
2dab345fe8
commit
1ca2691a15
6 changed files with 35 additions and 7 deletions
|
@ -29,7 +29,7 @@ export class EditorPanel extends React.PureComponent {
|
|||
|
||||
render() {
|
||||
const {
|
||||
mode, routerPoints, editor, totalDistance, estimateTime, activeSticker, logo, user, editing, title, address,
|
||||
mode, routerPoints, editor, totalDistance, estimateTime, activeSticker, logo, user, editing, title, address, changed,
|
||||
} = this.props;
|
||||
|
||||
return (
|
||||
|
@ -49,6 +49,7 @@ export class EditorPanel extends React.PureComponent {
|
|||
<LogoPreview logo={logo} />
|
||||
|
||||
<div className="control-dist">
|
||||
{changed && '(ch) '}
|
||||
{totalDistance} км
|
||||
<Icon icon="icon-cycle" size={32} />
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue