fixed track me not requiring sharecode when no matches are on record #50
@@ -92,7 +92,8 @@
|
||||
<!-- ShareCode input -->
|
||||
<div class="form-outline mb-2">
|
||||
<input id="track-sharecode" v-model="data.userData.sharecode" class="form-control bg-secondary"
|
||||
placeholder="ShareCode (optional)"
|
||||
:placeholder="store.state.playerDetails.matches ? 'ShareCode (optional)' : 'ShareCode (required)'"
|
||||
:required="!store.state.playerDetails.matches"
|
||||
type="text"/>
|
||||
</div>
|
||||
|
||||
@@ -123,7 +124,7 @@
|
||||
<div class="matches">
|
||||
|
||||
<MatchesTable v-if="store.state.playerDetails.matches" :matches="store.state.playerDetails.matches" color-front />
|
||||
<h5 v-else>No matches on record</h5>
|
||||
<h5 v-else>Track yourself to see your matches</h5>
|
||||
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user