Commit 52b5fe4f by zhaochengxiang

bug fix

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