Skip to content
Snippets Groups Projects
Commit 96a6f4e7 authored by Michael Hartung's avatar Michael Hartung
Browse files

cleanup: remove dumping of single parameters map nodes

parent caba0a3f
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,7 @@ export class NetexControllerService {
* Tries to map every node to a node object in out database
* Returns list of mapped nodes if node was found, otherwise original node to not lose information
*/
const payload = {nodes: JSON.stringify(nodes), identifier: JSON.stringify(identifier)};
const payload = {nodes: nodes, identifier: identifier};
return this.http.post(`${environment.backend}map_nodes/`, payload).toPromise();
}
......
......@@ -152,7 +152,6 @@ export function RGBAtoRGB(rgbaString) {
}
export function pieChartContextRenderer({ctx, x, y, state: {selected, hover}, style, label}) {
console.log(style)
ctx.drawPieLabel = function (style, x, y, label) {
ctx.font = "normal 12px sans-serif";
ctx.textAlign = "center";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment