You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With slower API server connections, the App fatals with errors inside the layouts/defaults.vue component.
Objects like "state.typo3.initial.navigtation[0] are not filled and there is no check to prevent errors on it.
Proposing following changes:
\<template\> \<div v-if="navMain !== null" class="wrapper"\> ... \<div v-if="breadcrumbs !== null" class="border-b mb-20px"\> ... computed: { ...mapState({ navMain: state => state.typo3.initial.navigation ? state.typo3.initial.navigation[0] : null, // get first instance from root tree, breadcrumbs: (state) => state.typo3.page.page ? state.typo3.page.page.breadcrumbs : null, // get breadcrumbs for current page
This secures, that if the without the axios-GET-Request being fired or resolved when component is rendered, the corresponding template parts are not rendered.
The text was updated successfully, but these errors were encountered:
With slower API server connections, the App fatals with errors inside the layouts/defaults.vue component.
Objects like "state.typo3.initial.navigtation[0] are not filled and there is no check to prevent errors on it.
Proposing following changes:
\<template\> \<div v-if="navMain !== null" class="wrapper"\> ... \<div v-if="breadcrumbs !== null" class="border-b mb-20px"\> ... computed: { ...mapState({ navMain: state => state.typo3.initial.navigation ? state.typo3.initial.navigation[0] : null, // get first instance from root tree, breadcrumbs: (state) => state.typo3.page.page ? state.typo3.page.page.breadcrumbs : null, // get breadcrumbs for current page
This secures, that if the without the axios-GET-Request being fired or resolved when component is rendered, the corresponding template parts are not rendered.
The text was updated successfully, but these errors were encountered: