diff --git a/packages/console-app/src/containers/panels/kubes/KubeRecords.js b/packages/console-app/src/containers/panels/kubes/KubeRecords.js index 8878228..635a5d1 100644 --- a/packages/console-app/src/containers/panels/kubes/KubeRecords.js +++ b/packages/console-app/src/containers/panels/kubes/KubeRecords.js @@ -6,6 +6,7 @@ import React, { useContext } from 'react'; import moment from 'moment'; import { useQuery } from '@apollo/react-hooks'; +import Link from '@material-ui/core/Link'; import TableHead from '@material-ui/core/TableHead'; import TableRow from '@material-ui/core/TableRow'; import TableBody from '@material-ui/core/TableBody'; @@ -16,7 +17,6 @@ import { ConsoleContext, useQueryStatusReducer, useSorter } from '../../../hooks import Table from '../../../components/Table'; import TableCell from '../../../components/TableCell'; -import AppLink from '../../../components/AppLink'; const KubeRecords = () => { const { config } = useContext(ConsoleContext); @@ -43,11 +43,11 @@ const KubeRecords = () => { - {appData.sort(sorter).map(({ id, names, createTime, attributes: { name: displayName, version, package: packageLink } }) => { + {appData.sort(sorter).map(({ id, names, createTime, attributes: { name: displayName, version, url } }) => { return ( - {names.map(wrn =>
)} + {names.map(wrn =>
{url ? {wrn} : {wrn}}
)}
{version}