Skip to content
This repository was archived by the owner on May 31, 2021. It is now read-only.

Commit 7842da5

Browse files
authored
#185 - partial fix for issue 1 & 2 (#186)
* Fix 'using maps' navigation * better message
1 parent 7f1889e commit 7842da5

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src-ui/map-list/map-list-element.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,13 @@ export default class MapListElement extends React.Component {
6767
punctuation = ' and ';
6868
}
6969
mapsList.push(
70-
<span key={href}>&#39;<a href={href}>{name}</a>&#39;{punctuation}</span>
70+
<LinkContainer to={{pathname: href}} ><span key={href}>&#39;<a href={href}>{name}</a>&#39;{punctuation}</span></LinkContainer>
71+
);
72+
}
73+
if(mapsList.length === 1){
74+
return (
75+
<div>Map {mapsList}
76+
uses this submap.</div>
7177
);
7278
}
7379
return (

0 commit comments

Comments
 (0)