Commit 347c7970 by zhaochengxiang

bug fix

parent 145e59b2
......@@ -1269,7 +1269,8 @@ const AssetAction = (props) => {
<Button onClick={shareAsset}>分享</Button>
<Button onClick={onSubsrcibeClick}>收藏</Button>
<Dropdown overlay={
{
!isPostAsset(assets?.templateType) && <Dropdown overlay={
<Menu onClick={({ key })=>{
if (metadata?.metadataTableId) {
app?.setGlobalState?.({
......@@ -1292,6 +1293,7 @@ const AssetAction = (props) => {
</Space>
</Button>
</Dropdown>
}
</Space>
}
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment