From fe23f9772e9f3fb7d60c0e72ba850e764d5c3d8f Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Tue, 31 Mar 2020 01:58:05 +0200
Subject: [PATCH] 'update'

---
 client/src/views/News.vue | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/client/src/views/News.vue b/client/src/views/News.vue
index e3d13539..4f424159 100644
--- a/client/src/views/News.vue
+++ b/client/src/views/News.vue
@@ -51,7 +51,6 @@ export default {
   data: function() {
     return {
       st: store.state,
-      devTeam: params.devs.includes(store.state.user.id),
       // timestamp of oldest showed news:
       cursor: Number.MAX_SAFE_INTEGER,
       // hasMore == TRUE: a priori there could be more news to load
@@ -61,6 +60,11 @@ export default {
       infoMsg: ""
     };
   },
+  computed: {
+    devTeam: functio() {
+      return params.devs.includes(this.st.user.id);
+    }
+  },
   created: function() {
     ajax(
       "/news",
-- 
2.44.0