From cc05ea11b539035a8041a9c6e689e1fd28e0cf57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Wed, 10 Apr 2019 16:46:32 +0200 Subject: [PATCH] Removed the responsability of the component "RelativeDateTime" to know if it is rendered in a browser cc @ulfgebhardt --- webapp/components/RelativeDateTime/index.vue | 4 ---- webapp/components/User.vue | 4 +++- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/webapp/components/RelativeDateTime/index.vue b/webapp/components/RelativeDateTime/index.vue index ea1d118fb..2c7d82dfe 100644 --- a/webapp/components/RelativeDateTime/index.vue +++ b/webapp/components/RelativeDateTime/index.vue @@ -44,10 +44,6 @@ export default { // Calculate Relative Date this.relativeDateTime = this.$filters.relativeDateTime(this.dateTime) - if (!process.browser) { - return - } - // TODO It is unclear what exactly this does and how to archive it /*if ( this.relativeDateTime === diff --git a/webapp/components/User.vue b/webapp/components/User.vue index 42b217d11..6b0731981 100644 --- a/webapp/components/User.vue +++ b/webapp/components/User.vue @@ -60,7 +60,9 @@ color="soft" > - + + +