diff --git a/webapp/components/Category.vue b/webapp/components/Category.vue
index aa4eee877..af602d4d0 100644
--- a/webapp/components/Category.vue
+++ b/webapp/components/Category.vue
@@ -1,16 +1,19 @@
-
+
{{ name }}
diff --git a/webapp/components/RelativeDateTime.vue b/webapp/components/RelativeDateTime.vue
index da5737d1d..67589e0a0 100644
--- a/webapp/components/RelativeDateTime.vue
+++ b/webapp/components/RelativeDateTime.vue
@@ -6,10 +6,11 @@
import moment from 'moment'
export default {
- name: 'hc-relative-date-time',
+ name: 'HcRelativeDateTime',
props: {
dateTime: {
- type: [Date, String]
+ type: [Date, String],
+ required: true
}
},
data() {
@@ -33,6 +34,15 @@ export default {
this.calcRelativeDateTime()
}
},
+ created() {
+ this.calcRelativeDateTime()
+ },
+ mounted() {
+ this.calcRelativeDateTime()
+ },
+ destroyed() {
+ clearTimeout(this.timeout)
+ },
methods: {
calcRelativeDateTime() {
clearTimeout(this.timeout)
@@ -58,15 +68,6 @@ export default {
this.calcRelativeDateTime()
}, this.interval)
}
- },
- created() {
- this.calcRelativeDateTime()
- },
- mounted() {
- this.calcRelativeDateTime()
- },
- destroyed() {
- clearTimeout(this.timeout)
}
}
diff --git a/webapp/components/Tag.vue b/webapp/components/Tag.vue
index af2985b5f..70e1cf2a2 100644
--- a/webapp/components/Tag.vue
+++ b/webapp/components/Tag.vue
@@ -1,15 +1,15 @@
-
+
{{ name }}
diff --git a/webapp/components/User.vue b/webapp/components/User.vue
index bd9189a06..4347c73fc 100644
--- a/webapp/components/User.vue
+++ b/webapp/components/User.vue
@@ -3,16 +3,36 @@
-
+
- Anonymus
+ Anonymus
-
-
-
-
+
+
+
+
@@ -30,10 +50,17 @@
>{{ user.name | truncate(trunc, 18) }}
-
@@ -41,7 +68,10 @@
-
+
-
+
{{ user.location.name }}
-
+
@@ -76,7 +110,11 @@
-
+
-
+
diff --git a/webapp/pages/post/_id/_slug/index.vue b/webapp/pages/post/_id/_slug/index.vue
index 6ac443187..a763230ef 100644
--- a/webapp/pages/post/_id/_slug/index.vue
+++ b/webapp/pages/post/_id/_slug/index.vue
@@ -1,12 +1,18 @@
-
+
-
-
+
+
-
- {{ post.title }}
-
+
+
+ {{ post.title }}
+
+
-
+
-
+
-
+
-
+
-