mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 01:52:42 +03:00
Fixed member element conditional
This commit is contained in:
parent
40090f95af
commit
c3aa211d6c
@ -19,7 +19,8 @@ export class MemberElement extends Component {
|
||||
Host
|
||||
</p>
|
||||
);
|
||||
} else if (window.ship === props.ship || window.ship !== props.host) {
|
||||
} else if (window.ship !== props.ship &&
|
||||
`~${window.ship}` === props.host) {
|
||||
actionElem = (
|
||||
<a onClick={this.onRemove.bind(this)}
|
||||
className="w-40 dib underline black btn-font">
|
||||
|
@ -57673,25 +57673,26 @@ lyrtesmudnytbyrsenwegfyrmurtelreptegpecnelnevfes\
|
||||
|
||||
)
|
||||
);
|
||||
} else if (window.ship === props.ship || window.ship !== props.host) {
|
||||
} else if (window.ship !== props.ship &&
|
||||
`~${window.ship}` === props.host) {
|
||||
actionElem = (
|
||||
react.createElement('a', { onClick: this.onRemove.bind(this),
|
||||
className: "w-40 dib underline black btn-font" , __self: this, __source: {fileName: _jsxFileName$e, lineNumber: 24}}, "Remove"
|
||||
className: "w-40 dib underline black btn-font" , __self: this, __source: {fileName: _jsxFileName$e, lineNumber: 25}}, "Remove"
|
||||
|
||||
)
|
||||
);
|
||||
} else {
|
||||
actionElem = (
|
||||
react.createElement('span', {__self: this, __source: {fileName: _jsxFileName$e, lineNumber: 31}})
|
||||
react.createElement('span', {__self: this, __source: {fileName: _jsxFileName$e, lineNumber: 32}})
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
react.createElement('div', {__self: this, __source: {fileName: _jsxFileName$e, lineNumber: 36}}
|
||||
react.createElement('div', {__self: this, __source: {fileName: _jsxFileName$e, lineNumber: 37}}
|
||||
, react.createElement('p', {
|
||||
className:
|
||||
"w-60 dib black pr3 mb2 label-small-mono label-regular"
|
||||
, __self: this, __source: {fileName: _jsxFileName$e, lineNumber: 37}}
|
||||
, __self: this, __source: {fileName: _jsxFileName$e, lineNumber: 38}}
|
||||
, props.ship
|
||||
)
|
||||
, actionElem
|
||||
|
Loading…
Reference in New Issue
Block a user