dbug: update for latest remote scry state

This commit is contained in:
yosoyubik 2023-04-20 09:54:36 +02:00
parent bee09fe5e1
commit 3fb596a8d3
2 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -260,16 +260,16 @@ export class Ames extends Component {
const summary = (<> const summary = (<>
<b>{scry['scry-path']}</b><br/> <b>{scry['scry-path']}</b><br/>
<h5 style={{marginTop: '1em'}}>listeners:</h5>
{renderDuct(scry['keen-state'].listeners)} {renderDuct(scry['keen-state'].listeners)}
<h5 style={{marginTop: '1em'}}>scry state:</h5>
<table><tbody> <table><tbody>
<tr class="inter"> <tr class="inter">
<td>id</td>
<td>num-fragments</td> <td>num-fragments</td>
<td>num-received</td> <td>num-received</td>
<td>next-wake</td> <td>next-wake</td>
</tr> </tr>
<tr> <tr>
<td>{scry['keen-id']}</td>
<td>{scry['keen-state']['num-fragments']}</td> <td>{scry['keen-state']['num-fragments']}</td>
<td>{scry['keen-state']['num-received']}</td> <td>{scry['keen-state']['num-received']}</td>
<td>{msToDa(scry['keen-state']['next-wake'])}</td> <td>{msToDa(scry['keen-state']['next-wake'])}</td>
@ -282,7 +282,7 @@ export class Ames extends Component {
{wants} {wants}
</>); </>);
return {key: scry['keen-id'], jsx: ( return {key: scry['scry-path'], jsx: (
<Summary summary={summary} details={details} /> <Summary summary={summary} details={details} />
)}; )};