mirror of
https://github.com/urbit/shrub.git
synced 2024-08-17 08:00:39 +03:00
dbug: remove %heeds from dbug interface
This commit is contained in:
parent
95caa5b5fe
commit
ba3fa1ca30
File diff suppressed because one or more lines are too long
@ -46,16 +46,6 @@ export class Ames extends Component {
|
||||
return <SearchableList placeholder="path" items={items}/>;
|
||||
}
|
||||
|
||||
renderDucts(ducts) {
|
||||
const items = ducts.map(duct => {
|
||||
return {
|
||||
key: duct.join(' '),
|
||||
jsx: (<div>{renderDuct(duct)}</div>)
|
||||
}
|
||||
});
|
||||
return <SearchableList placeholder="duct" items={items}/>
|
||||
}
|
||||
|
||||
renderSnd(snd) {
|
||||
const unsent = snd['unsent-messages'].reduce((a, b) => {
|
||||
return a + b + ' bytes, ';
|
||||
@ -309,7 +299,6 @@ export class Ames extends Component {
|
||||
return (<>
|
||||
Pending messages: {peer.alien.messages}
|
||||
Pending packets: {peer.alien.packets}
|
||||
Heeds: {this.renderDucts(peer.alien.heeds)}
|
||||
Keens: {this.renderPaths(peer.alien.keens)}
|
||||
</>);
|
||||
} else if (peer.known) {
|
||||
@ -373,11 +362,6 @@ export class Ames extends Component {
|
||||
<SearchableList placeholder="bone" items={naxItems} />
|
||||
</>);
|
||||
|
||||
const heeds = (<>
|
||||
<h4 style={{marginTop: '1em'}}>heeds</h4>
|
||||
{this.renderDucts(p.heeds)}
|
||||
</>);
|
||||
|
||||
const scryItems = p.scries.map(this.renderScry);
|
||||
const scry = (<>
|
||||
<h4 style={{marginTop: '1em'}}>scries</h4>
|
||||
@ -395,7 +379,6 @@ export class Ames extends Component {
|
||||
{forward}
|
||||
{backward}
|
||||
{nax}
|
||||
{heeds}
|
||||
{scry}
|
||||
</>);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user