diff --git a/web/src/views/UserPresence.vue b/web/src/views/UserPresence.vue index 086f14b..786ab0f 100644 --- a/web/src/views/UserPresence.vue +++ b/web/src/views/UserPresence.vue @@ -233,9 +233,6 @@ export default { resultSize: pageSize } }, - beforeMount() { - if (this.$vuetify.breakpoint.mdAndUp) this.resultSize = this.pageSize = 24 - }, apollo: { userPresence: { // fetchPolicy: 'cache-and-network', @@ -286,6 +283,9 @@ export default { return this.userPresence?.slice(0, this.resultSize) || [] } }, + beforeMount() { + if (this.$vuetify.breakpoint.mdAndUp) this.resultSize = this.pageSize = 24 + }, methods: { color(status) { return {