File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 11<template >
22 <b-form-group :label =" label" label-cols-horizontal >
33 <b-form-radio-group id =" select-team" v-model =" model.team" buttons >
4- <b-form-radio value =" Yellow " >Yellow</b-form-radio >
5- <b-form-radio value =" Blue " >Blue</b-form-radio >
4+ <b-form-radio value =" YELLOW " >Yellow</b-form-radio >
5+ <b-form-radio value =" BLUE " >Blue</b-form-radio >
66 </b-form-radio-group >
77 </b-form-group >
88</template >
Original file line number Diff line number Diff line change 1515 import TeamSelection from " ../common/TeamSelection" ;
1616 import {convertStringLocation } from " ../../refereeState" ;
1717 import {isNumeric } from " ../../util" ;
18- import {submitChange } from " ../../submit" ;
18+ import {submitChange , submitNewCommand } from " ../../submit" ;
1919
2020 export default {
2121 name: " PlaceBall" ,
4040 },
4141 methods: {
4242 sendEvent : function () {
43+ console .log (' place ' + this .model .team )
4344 submitChange ({
4445 setBallPlacementPos: {
4546 pos: convertStringLocation (this .model .location )
4647 }
4748 });
49+ submitNewCommand (' BALL_PLACEMENT' , this .model .team );
4850 this .$root .$emit (' bv::hide::modal' , ' place-ball-modal' );
4951 }
5052 }
You can’t perform that action at this time.
0 commit comments