Add polling to rooms and portfolio pages

This commit is contained in:
Ramon Wenger 2019-05-15 18:21:04 +02:00
parent 8764aee445
commit 78e2e3ecc5
2 changed files with 4 additions and 2 deletions

View File

@ -37,7 +37,8 @@
query: PROJECTS_QUERY, query: PROJECTS_QUERY,
update(data) { update(data) {
return this.$getRidOfEdges(data).projects return this.$getRidOfEdges(data).projects
} },
pollInterval: 5000,
}, },
me: { me: {
query: ME_QUERY query: ME_QUERY

View File

@ -41,7 +41,8 @@
query: ROOMS_QUERY, query: ROOMS_QUERY,
update(data) { update(data) {
return this.$getRidOfEdges(data).rooms return this.$getRidOfEdges(data).rooms
} },
pollInterval: 5000,
}, },
me: { me: {
query: ME_QUERY, query: ME_QUERY,