Fix the metadata return value
This commit is contained in:
parent
b94edd0ff5
commit
5ae3ca27ca
|
@ -76,9 +76,9 @@ models.service('models', ['colors', function(colors) {
|
||||||
var displayed = message['displayed'];
|
var displayed = message['displayed'];
|
||||||
var highlight = message['highlight'];
|
var highlight = message['highlight'];
|
||||||
var content = parseLineAddedTextElements(message);
|
var content = parseLineAddedTextElements(message);
|
||||||
var text = "";
|
var rtext = "";
|
||||||
if(text[0] != undefined) {
|
if(text[0] != undefined) {
|
||||||
text = text[0]['text'];
|
rtext = text[0]['text'];
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
@ -88,7 +88,7 @@ models.service('models', ['colors', function(colors) {
|
||||||
tags: tags_array,
|
tags: tags_array,
|
||||||
highlight: highlight,
|
highlight: highlight,
|
||||||
displayed: displayed,
|
displayed: displayed,
|
||||||
text: text,
|
text: rtext,
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue