File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 101101 return stageNames[getNextStage (this .$store .state .matchState .stage )];
102102 },
103103 showEndGame () {
104- return canEndGameFromStage (this .$store .state .matchState . stage );
104+ return canEndGameFromStage (this .$store .state .matchState );
105105 },
106106 preStage () {
107107 return isPreStage (this .$store .state .matchState );
Original file line number Diff line number Diff line change @@ -29,9 +29,9 @@ export let getNextStage = function (stage) {
2929 return stage ;
3030} ;
3131
32- export let canEndGameFromStage = function ( stage ) {
32+ export let canEndGameFromStage = function ( state ) {
3333 // Games can always end when a team has scored 10 goals, so we only restrict it to non paused stages
34- return isNonPausedStage ( stage ) ;
34+ return isNonPausedStage ( state ) ;
3535} ;
3636
3737export let isNonPausedStage = function ( state ) {
You can’t perform that action at this time.
0 commit comments