diff --git a/resources/js/Pages/Client/Schedules/Index.vue b/resources/js/Pages/Client/Schedules/Index.vue index 819031c..610c9ce 100755 --- a/resources/js/Pages/Client/Schedules/Index.vue +++ b/resources/js/Pages/Client/Schedules/Index.vue @@ -24,7 +24,7 @@ export default { favoriteGroups: typeof window !== 'undefined' ? JSON.parse(localStorage.getItem('favoriteGroups') || '[]') : [], showFavorites: false, loading: false, - currentPageLoaded: this.schedules_paginator.current_page, + currentPageLoaded: this.schedules_paginator?.current_page ?? 1, }; }, components: { @@ -57,13 +57,16 @@ export default { type: Object }, seo: { - type: Object + type: Object, + default: () => ({}) }, breadcrumbs: { - type: Object + type: Object, + default: () => ({}) }, faculties: { - type: Object + type: Object, + default: () => ({}) }, }, methods: { @@ -94,8 +97,8 @@ export default {