refresh btn
This commit is contained in:
@@ -26,6 +26,7 @@ function Menu(args) {
|
||||
sendInstanceState,
|
||||
sendPlayerMmCrypsSet,
|
||||
sendInstanceJoin,
|
||||
sendInstanceList,
|
||||
sendCrypSpawn,
|
||||
instances,
|
||||
} = args;
|
||||
@@ -78,6 +79,9 @@ function Menu(args) {
|
||||
</thead>
|
||||
<tbody>
|
||||
{instancePanels}
|
||||
<tr className="right" onClick={() => sendInstanceList()}>
|
||||
<td colSpan={3} >↺</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<InstanceCreateForm />
|
||||
|
||||
@@ -29,12 +29,17 @@ const addState = connect(
|
||||
return ws.sendInstanceState(instance.id);
|
||||
}
|
||||
|
||||
function sendInstanceList() {
|
||||
return ws.sendAccountInstances();
|
||||
}
|
||||
|
||||
return {
|
||||
account,
|
||||
cryps,
|
||||
selectedCryps,
|
||||
sendInstanceJoin,
|
||||
sendInstanceState,
|
||||
sendInstanceList,
|
||||
sendCrypSpawn,
|
||||
sendPlayerMmCrypsSet,
|
||||
instances,
|
||||
|
||||
Reference in New Issue
Block a user