diff --git a/views/account/user/dashboard.ejs b/views/account/user/dashboard.ejs index 35bbb010..60fe25a5 100644 --- a/views/account/user/dashboard.ejs +++ b/views/account/user/dashboard.ejs @@ -130,20 +130,32 @@
-

- <%= datas[0].source.name %> -

- - <%= datas[0].description %> - - - <%= datas[0].publishedAt %> - - -
- More - ... -
+ <% if (data.length> 0) { %> +

+ <%= data[0].title %> + + <%= data[0].author %> + +

+
+ + +

+ <%= data[0].source.name %> +

+ + <%= data[0].description %> + + + <%= data[0].publishedAt %> + + +
+ More ... +
+
+
+ <% } %>
@@ -181,4 +193,4 @@ - \ No newline at end of file +