Commit 0d55457c by zhaochengxiang

bug fix

parent 9c6aa491
...@@ -11,7 +11,7 @@ import { AppContext, appId } from '../../../../App'; ...@@ -11,7 +11,7 @@ import { AppContext, appId } from '../../../../App';
import Tag from '../../Tag'; import Tag from '../../Tag';
import Separate from './Separate'; import Separate from './Separate';
import AssetTagModal from './AssetTagModal'; import AssetTagModal from './AssetTagModal';
import { AnchorId, AnchorDirId, AssetManageReference } from '../../../../util/constant'; import { AnchorId, AnchorDirId, AssetManageReference, AssetRecycleReference } from '../../../../util/constant';
import IndexCode from './IndexCode'; import IndexCode from './IndexCode';
import Upload from './Upload'; import Upload from './Upload';
import Table from '../../ResizeableTable'; import Table from '../../ResizeableTable';
...@@ -956,7 +956,7 @@ const AssetAction = (props) => { ...@@ -956,7 +956,7 @@ const AssetAction = (props) => {
{ {
currentAction === 'detail' && <Button type='primary' onClick={shareAsset}>分享</Button> currentAction === 'detail' && <Button type='primary' onClick={shareAsset}>分享</Button>
} }
</Space> : <Button type='primary' onClick={shareAsset}>分享</Button> </Space> : (reference!==AssetRecycleReference) && <Button type='primary' onClick={shareAsset}>分享</Button>
} }
</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