fix(ui) - missing resources wid - resource name

This commit is contained in:
Shekar Siri 2022-09-20 10:48:28 +05:30
parent 007eaf6cd0
commit 13be278b45
2 changed files with 3 additions and 1 deletions

View file

@ -47,6 +47,8 @@ function MissingResources(props: Props) {
if (!isTemplate) {
cols.push(copyPathCol);
}
console.log('metric.data.chart', metric.data.chart);
return (
<NoContent

View file

@ -9,7 +9,7 @@ export default class ResourceInfo extends React.PureComponent {
const { data } = this.props;
return (
<div className="flex flex-col" >
<TextEllipsis className={ styles.name } text={ data.name } hintText={ data.url } />
<TextEllipsis className={ styles.name } text={ data.url } hintText={ data.url } />
<div className={ styles.timings }>
{ data.endedAt && data.startedAt && `${ diffFromNowString(data.endedAt) } ago - ${ diffFromNowString(data.startedAt) } old` }
</div>