1
0
Fork 0

Update LoopComponent.vue

This commit is contained in:
Daniel Supernault 2019-06-03 20:11:45 -06:00
parent 96ea8e6778
commit bf6c5a657f
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ export default {
return ts.toLocaleDateString();
},
getTitle(loop) {
let content = loop.content : 'Untitled';
let content = loop.content ? loop.content : 'Untitled';
return content.trim();
}
}