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