url now takes the same format as in other components
This commit is contained in:
parent
4d7c214a16
commit
8804dc903e
|
@ -82,6 +82,7 @@
|
||||||
width: 25,
|
width: 25,
|
||||||
flex: 0,
|
flex: 0,
|
||||||
editable: false,
|
editable: false,
|
||||||
|
sortable: false,
|
||||||
cellRenderer: getRenderer({
|
cellRenderer: getRenderer({
|
||||||
type: '_id',
|
type: '_id',
|
||||||
options: detailUrl
|
options: detailUrl
|
||||||
|
|
|
@ -143,7 +143,7 @@ function viewDetailsRenderer(options) {
|
||||||
new ViewDetails({
|
new ViewDetails({
|
||||||
target: container,
|
target: container,
|
||||||
props: {
|
props: {
|
||||||
url: `/${options}/${params.data._id}`,
|
url: `${options}/${params.data._id}`,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue