remove ability to abandon channels + claims from tx table
This commit is contained in:
parent
5ab94e25b7
commit
b5dd996bae
1 changed files with 6 additions and 0 deletions
|
@ -32,9 +32,15 @@ class TxoListItem extends React.PureComponent<Props, State> {
|
||||||
|
|
||||||
getLink(type: string, tip: boolean) {
|
getLink(type: string, tip: boolean) {
|
||||||
const { abandonState } = this.state;
|
const { abandonState } = this.state;
|
||||||
|
|
||||||
|
if (type === 'claim') {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
if (this.state.abandonState === ABANDON_STATES.PENDING) {
|
if (this.state.abandonState === ABANDON_STATES.PENDING) {
|
||||||
return <Spinner type={'small'} />;
|
return <Spinner type={'small'} />;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tip && type === TXO.SUPPORT) {
|
if (tip && type === TXO.SUPPORT) {
|
||||||
return (
|
return (
|
||||||
<Button
|
<Button
|
||||||
|
|
Loading…
Add table
Reference in a new issue