Add minors roster count
This commit is contained in:
parent
fd41e57280
commit
350bf8c660
@ -75,7 +75,8 @@
|
|||||||
<!-- Right Column -->
|
<!-- Right Column -->
|
||||||
<div v-if="!isFreeAgentTeam" class="col-sm-6">
|
<div v-if="!isFreeAgentTeam" class="col-sm-6">
|
||||||
|
|
||||||
<h3 id="minors-header">{{ minorsTeamName }} ({{ swarTotal(playersMinors).toFixed(2) }})</h3>
|
<h3 id="minors-header">({{ minorsRosterCount }}/6) {{ minorsTeamName }} ({{ swarTotal(playersMinors).toFixed(2)
|
||||||
|
}})</h3>
|
||||||
<div class="table-responsive-xl">
|
<div class="table-responsive-xl">
|
||||||
<table class="table table-sm table-striped" id="table-minors-roster">
|
<table class="table table-sm table-striped" id="table-minors-roster">
|
||||||
<thead class="thead-dark">
|
<thead class="thead-dark">
|
||||||
@ -215,6 +216,9 @@ export default {
|
|||||||
rosterCount(): number {
|
rosterCount(): number {
|
||||||
return this.players.length
|
return this.players.length
|
||||||
},
|
},
|
||||||
|
minorsRosterCount(): number {
|
||||||
|
return this.playersMinors.length
|
||||||
|
},
|
||||||
transactionsWeekNumber(): number | undefined {
|
transactionsWeekNumber(): number | undefined {
|
||||||
if (this.weekNumber === undefined) return undefined
|
if (this.weekNumber === undefined) return undefined
|
||||||
return this.weekNumber + 1
|
return this.weekNumber + 1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user