Commit 347c7970 by zhaochengxiang

bug fix

parent 145e59b2
...@@ -1269,7 +1269,8 @@ const AssetAction = (props) => { ...@@ -1269,7 +1269,8 @@ const AssetAction = (props) => {
<Button onClick={shareAsset}>分享</Button> <Button onClick={shareAsset}>分享</Button>
<Button onClick={onSubsrcibeClick}>收藏</Button> <Button onClick={onSubsrcibeClick}>收藏</Button>
<Dropdown overlay={ {
!isPostAsset(assets?.templateType) && <Dropdown overlay={
<Menu onClick={({ key })=>{ <Menu onClick={({ key })=>{
if (metadata?.metadataTableId) { if (metadata?.metadataTableId) {
app?.setGlobalState?.({ app?.setGlobalState?.({
...@@ -1292,6 +1293,7 @@ const AssetAction = (props) => { ...@@ -1292,6 +1293,7 @@ const AssetAction = (props) => {
</Space> </Space>
</Button> </Button>
</Dropdown> </Dropdown>
}
</Space> </Space>
} }
</div> </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