Commit 52b5fe4f by zhaochengxiang

bug fix

parent 919d6748
...@@ -411,7 +411,7 @@ export function getDataModelerRole(user) { ...@@ -411,7 +411,7 @@ export function getDataModelerRole(user) {
} }
export function getAssetType(reference) { export function getAssetType(reference) {
return (reference===AssetManageReference || reference===AssetBrowseReference) ? 'dataAsset' : 'resource' return (reference===AssetManageReference || reference===AssetBrowseReference || reference===AssetRecycleReference) ? 'dataAsset' : 'resource'
} }
export function getAssetRange(menuName) { export function getAssetRange(menuName) {
......
import React from 'react'; import React from 'react';
import AssetTable from './table'; import AssetTable from './table';
import { AssetRecycleReference } from '../../../util/constant';
const AssetRecycle = (props) => { const AssetRecycle = (props) => {
return ( return (
<div style={{ backgroundColor: '#fff', height: '100%' }}> <div style={{ backgroundColor: '#fff', height: '100%' }}>
<AssetTable reference={AssetRecycleReference} {...props} /> <AssetTable {...props} />
</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