mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-27 18:05:00 +00:00
parent
46eb7c9bec
commit
902ad0d299
@ -12,7 +12,7 @@
|
||||
*/
|
||||
|
||||
import classNames from 'classnames';
|
||||
import { startCase, uniqueId } from 'lodash';
|
||||
import { isUndefined, startCase, uniqueId } from 'lodash';
|
||||
import { observer } from 'mobx-react';
|
||||
import {
|
||||
EntityTags,
|
||||
@ -160,6 +160,8 @@ const MlModelDetail: FC<MlModelDetailProp> = ({
|
||||
showLabel: true,
|
||||
isLink: true,
|
||||
},
|
||||
...(!isUndefined(mlModelDetail.dashboard)
|
||||
? [
|
||||
{
|
||||
key: 'Dashboard',
|
||||
value: getDashboardDetailsPath(
|
||||
@ -169,6 +171,8 @@ const MlModelDetail: FC<MlModelDetailProp> = ({
|
||||
showLabel: true,
|
||||
isLink: true,
|
||||
},
|
||||
]
|
||||
: []),
|
||||
];
|
||||
|
||||
const hasEditAccess = () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user