@golstats/gsc-reports 1.0.118 → 1.0.119

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golstats/gsc-reports",
3
- "version": "1.0.118",
3
+ "version": "1.0.119",
4
4
  "main": "dist/gsc-reports.umd.js",
5
5
  "module": "dist/gsc-reports.es.js",
6
6
  "exports": {
@@ -131,7 +131,7 @@
131
131
  </template>
132
132
 
133
133
  <template
134
- v-if="specificPlaysDetails.homeTeamViews.length > 0"
134
+ v-if="specificPlaysDetails && specificPlaysDetails.homeTeamViews.length > 0"
135
135
  >
136
136
  <div v-show="buildStepMap()[currentStep] === 'cornersEquipo'" class="step-content">
137
137
  <TirosEsquinaView
@@ -150,7 +150,7 @@
150
150
  </template>
151
151
 
152
152
  <template
153
- v-if="specificPlaysDetails.homeTeamAgainstViews.length > 0"
153
+ v-if="specificPlaysDetails && specificPlaysDetails.homeTeamAgainstViews.length > 0"
154
154
  >
155
155
  <div v-show="buildStepMap()[currentStep] === 'cornersEquipoAgainst'" class="step-content">
156
156
  <TirosEsquinaView
@@ -169,7 +169,7 @@
169
169
  </template>
170
170
 
171
171
  <template
172
- v-if="specificPlaysDetails.awayTeamViews.length > 0"
172
+ v-if="specificPlaysDetails && specificPlaysDetails.awayTeamViews.length > 0"
173
173
  >
174
174
  <div v-show="buildStepMap()[currentStep] === 'cornersRival'" class="step-content">
175
175
  <TirosEsquinaView
@@ -188,7 +188,7 @@
188
188
  </template>
189
189
 
190
190
  <template
191
- v-if="specificPlaysDetails.awayTeamAgainstViews.length > 0"
191
+ v-if="specificPlaysDetails && specificPlaysDetails.awayTeamAgainstViews.length > 0"
192
192
  >
193
193
  <div v-show="buildStepMap()[currentStep] === 'cornersRivalAgainst'" class="step-content">
194
194
  <TirosEsquinaView
@@ -741,10 +741,6 @@ function cancelGoBack() {
741
741
  }
742
742
 
743
743
  async function continueToNext() {
744
- console.log('continueToNext, currentStep:', currentStep.value)
745
- console.log('canContinue:', canContinue.value)
746
- console.log('specificPlaysDetails:', specificPlaysDetails.value)
747
- console.log('tirosEsquinaOption:', tirosEsquinaOption.value)
748
744
  if (currentStep.value === 0) {
749
745
  // Validar que al menos una opción esté seleccionada
750
746
  if (!canContinue.value) {