fixed identifier parse error on asset details component
This commit is contained in:
parent
7600ff5c54
commit
7b4b5da428
2 changed files with 3 additions and 17 deletions
react/containers/ShowAsset
|
@ -21,11 +21,11 @@ class ShowAsset extends React.Component {
|
|||
// create request params
|
||||
let body = {};
|
||||
if (modifier) {
|
||||
if (modifier.channel) {
|
||||
if (modifier.id) {
|
||||
body['claimId'] = modifier.id;
|
||||
} else {
|
||||
body['channelName'] = modifier.channel.name;
|
||||
body['channelClaimId'] = modifier.channel.id;
|
||||
} else {
|
||||
body['claimId'] = modifier.id;
|
||||
}
|
||||
}
|
||||
body['claimName'] = name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue