lint fixes

This commit is contained in:
kevmodrome 2020-10-15 20:06:26 +02:00
parent 71acc10e9c
commit 4d7c214a16
1 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ const renderers = new Map([
["attachment", attachmentRenderer], ["attachment", attachmentRenderer],
["options", optionsRenderer], ["options", optionsRenderer],
["link", linkedRowRenderer], ["link", linkedRowRenderer],
["_id", viewDetailsRenderer] ["_id", viewDetailsRenderer],
]) ])
export function getRenderer(schema, editable) { export function getRenderer(schema, editable) {
@ -143,10 +143,10 @@ function viewDetailsRenderer(options) {
new ViewDetails({ new ViewDetails({
target: container, target: container,
props: { props: {
url: `/${options}/${params.data._id}` url: `/${options}/${params.data._id}`,
}, },
}) })
return container return container
} }
} }