Commit 1400785b authored by hh1966's avatar hh1966
Browse files

Fix research plan model

parent 83e30573
......@@ -52,7 +52,7 @@ export default class ResearchPlan extends Element {
type: 'image',
value: {
file_name: null,
file_path: null,
public_name: null,
}
})
}
......@@ -62,8 +62,6 @@ export default class ResearchPlan extends Element {
for (var i = 0; i < this.body.length; i++) {
if (this.body[i].type == 'ketcher') {
return `/images/research_plans/${this.body[i].value.svg_file}`
} else if (this.body[i].type == 'image') {
}
}
......
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