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

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();
}
}