diff --git a/packages/vue-app/template/mixins/fetch.client.js b/packages/vue-app/template/mixins/fetch.client.js index 5babfda58f..c546f4e51f 100644 --- a/packages/vue-app/template/mixins/fetch.client.js +++ b/packages/vue-app/template/mixins/fetch.client.js @@ -83,6 +83,12 @@ function createdFullStatic() { return } + // If there is a missing payload + if (!data) { + this.$fetch() + return + } + // Merge data for (const key in data) { Vue.set(this.$data, key, data[key])