Skip to content
Snippets Groups Projects
Verified Commit 7988bbbc authored by Alex ORLUC's avatar Alex ORLUC
Browse files

fix return data

parent 56d17091
No related branches found
No related tags found
No related merge requests found
......@@ -52,12 +52,12 @@ export class NoteEditorComponent implements AfterViewInit {
if (this.resIds.length == 1) {
this.http.get("../../rest/res/" + this.resIds[0] + "/notes/templates")
.subscribe((data: any) => {
this.templatesNote = data;
this.templatesNote = data['templates'];
});
} else {
this.http.get("../../rest/notes/templates")
.subscribe((data: any) => {
this.templatesNote = data;
this.templatesNote = data['templates'];
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment