"Delete" action better with browser history (i.e. back button now works correctly with the Delete dialog).

This commit is contained in:
Tomas Bures 2017-06-09 12:01:01 +02:00
parent ed5b81b6e6
commit 1d1355df34
4 changed files with 41 additions and 22 deletions

View file

@ -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} />)
}
}