fix bot in status page
This commit is contained in:
parent
5948a7ad74
commit
7c4eb60808
@ -19,9 +19,9 @@
|
|||||||
<ul style="margin:0">
|
<ul style="margin:0">
|
||||||
<li v-for="p in r.players" :key="p">
|
<li v-for="p in r.players" :key="p">
|
||||||
<p style="margin:0"><b>name:</b> {{p.name}}</p>
|
<p style="margin:0"><b>name:</b> {{p.name}}</p>
|
||||||
<p style="margin:0"><b>is_bot:</b> {{p.is_bot}}</p>
|
<p style="margin:0"><b>is_bot:</b> {{p.bot}}</p>
|
||||||
<p style="margin:0"><b>health:</b> {{p.health}}</p>
|
<p style="margin:0"><b>health:</b> {{p.health}}</p>
|
||||||
<button v-if="!p.is_bot" @click="kick(p.sid)">Kick</button>
|
<button v-if="!p.bot" @click="kick(p.sid)">Kick</button>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<br>
|
<br>
|
||||||
|
Loading…
Reference in New Issue
Block a user