Browse Source
url now takes the same format as in other components
gh-pages
kevmodrome
6 years ago
No known key found for this signature in database
GPG Key ID: E8F9CD141E63BF38
2 changed files with
2 additions and
1 deletions
-
packages/standard-components/src/DataGrid/Component.svelte
-
packages/standard-components/src/DataGrid/customRenderer.js
|
|
|
@ -82,6 +82,7 @@ |
|
|
|
width: 25, |
|
|
|
flex: 0, |
|
|
|
editable: false, |
|
|
|
sortable: false, |
|
|
|
cellRenderer: getRenderer({ |
|
|
|
type: '_id', |
|
|
|
options: detailUrl |
|
|
|
|
|
|
|
@ -143,7 +143,7 @@ function viewDetailsRenderer(options) { |
|
|
|
new ViewDetails({ |
|
|
|
target: container, |
|
|
|
props: { |
|
|
|
url: `/${options}/${params.data._id}`, |
|
|
|
url: `${options}/${params.data._id}`, |
|
|
|
}, |
|
|
|
}) |
|
|
|
|
|
|
|
|