"Delete" action better with browser history (i.e. back button now works correctly with the Delete dialog).
This commit is contained in:
parent
ed5b81b6e6
commit
1d1355df34
4 changed files with 41 additions and 22 deletions
|
@ -21,12 +21,11 @@ const getStructure = t => ({
|
|||
children: {
|
||||
'edit' : {
|
||||
title: t('Edit Namespace'),
|
||||
params: [':nsId'],
|
||||
params: [':nsId', ':action?'],
|
||||
render: props => (<CUD edit {...props} />)
|
||||
},
|
||||
'create' : {
|
||||
title: t('Create Namespace'),
|
||||
link: '/namespaces/create',
|
||||
render: props => (<CUD {...props} />)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue