projects
/
vchess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ae01cb
)
'update'
author
Benjamin Auder
<benjamin.auder@somewhere>
Mon, 30 Mar 2020 23:58:05 +0000
(
01:58
+0200)
committer
Benjamin Auder
<benjamin.auder@somewhere>
Mon, 30 Mar 2020 23:58:05 +0000
(
01:58
+0200)
client/src/views/News.vue
patch
|
blob
|
blame
|
history
diff --git
a/client/src/views/News.vue
b/client/src/views/News.vue
index
e3d1353
..
4f42415
100644
(file)
--- 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",