Back from edit overview to view
This commit is contained in:
parent
2d54a7061d
commit
0b598e318b
@ -16,9 +16,10 @@ const Overview = (props) => {
|
||||
}
|
||||
|
||||
let title = (props.mode === 'view')? 'View maps' : 'Add or edit data';
|
||||
let back = (props.mode === 'edit')? `/view/${data_layer}.html` : undefined;
|
||||
|
||||
return (
|
||||
<Sidebar title={title}>
|
||||
<Sidebar title={title} back={back}>
|
||||
{
|
||||
CONFIG.map((data_group) => (
|
||||
<OverviewSection {...data_group}
|
||||
|
Loading…
Reference in New Issue
Block a user