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 1
1
<template >
2
2
<b-form-group :label =" label" label-cols-horizontal >
3
3
<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 >
6
6
</b-form-radio-group >
7
7
</b-form-group >
8
8
</template >
Original file line number Diff line number Diff line change 15
15
import TeamSelection from " ../common/TeamSelection" ;
16
16
import {convertStringLocation } from " ../../refereeState" ;
17
17
import {isNumeric } from " ../../util" ;
18
- import {submitChange } from " ../../submit" ;
18
+ import {submitChange , submitNewCommand } from " ../../submit" ;
19
19
20
20
export default {
21
21
name: " PlaceBall" ,
40
40
},
41
41
methods: {
42
42
sendEvent : function () {
43
+ console .log (' place ' + this .model .team )
43
44
submitChange ({
44
45
setBallPlacementPos: {
45
46
pos: convertStringLocation (this .model .location )
46
47
}
47
48
});
49
+ submitNewCommand (' BALL_PLACEMENT' , this .model .team );
48
50
this .$root .$emit (' bv::hide::modal' , ' place-ball-modal' );
49
51
}
50
52
}
You can’t perform that action at this time.
0 commit comments