Commit 16cba82c authored by Laurent Wouters's avatar Laurent Wouters
Browse files

[fix] Enable views to return suggested resources upon rendering

parent 9c43c1b46646
......@@ -39,7 +39,7 @@ export class RdfTriplesRendering implements implementation.ViewImplementation {
renderer: application.ViewRenderer,
context: application.RenderingContext,
target: string
): HTMLElement {
): application.ViewRendering {
let result = document.createElement("div");
result.style.width = "100%";
......@@ -89,7 +89,11 @@ export class RdfTriplesRendering implements implementation.ViewImplementation {
table.appendChild(tbody);
result.appendChild(table);
return result;
return {
dom: result,
viewId: this.descriptor.identifier,
suggestedResources: []
};
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment