Moves validation into template

This commit is contained in:
oemel09
2021-04-08 16:48:29 +02:00
parent 256d5ae14f
commit a49962b8de
2 changed files with 10 additions and 8 deletions

View File

@@ -135,7 +135,7 @@ Module.register("newsfeed", {
sourceTitle: item.sourceTitle,
publishDate: moment(new Date(item.pubdate)).fromNow(),
title: item.title,
description: this.isShowingDescription ? item.description : null
description: item.description
};
},