We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdacae3 commit be53003Copy full SHA for be53003
1 file changed
components/gymRoutes/forms/GymRouteForm.vue
@@ -608,6 +608,14 @@ export default {
608
}
609
},
610
611
+ watch: {
612
+ multiPitch (newVal) {
613
+ if (!newVal && this.data.sections.length > 1) {
614
+ this.data.sections.splice(1)
615
+ }
616
617
+ },
618
+
619
mounted () {
620
this.getGymLevels()
621
this.multiPitch = this.data.sections.length > 1
0 commit comments