|
@ -141,7 +141,7 @@ const RestapisTable = (props) => { |
|
|
width: '8%', |
|
|
width: '8%', |
|
|
render: (text, record) => { |
|
|
render: (text, record) => { |
|
|
let resourceApplicationsRecords = metadataResourceApplications.filter(ra => |
|
|
let resourceApplicationsRecords = metadataResourceApplications.filter(ra => |
|
|
ra.applyBy == user.id && ra.resourceName === record.name && ra.resourceId == record.id); |
|
|
ra.applyBy == user.id && ra.resourceName === record.name && ra.resourceId == record.id && !!record.token); |
|
|
return <ButtonGroup> |
|
|
return <ButtonGroup> |
|
|
{user.role == '数据消费者' ? null : |
|
|
{user.role == '数据消费者' ? null : |
|
|
<> |
|
|
<> |
|
|