Merge branch 'master' into feat/BCKSTG-93-paragraphs
Signed-off-by: Carlos Esteban Lopez Jaramillo <luchillo17@gmail.com>
This commit is contained in:
@@ -18,6 +18,7 @@ import { useEntity } from '@backstage/plugin-catalog-react';
|
||||
import { Grid, Tooltip } from '@material-ui/core';
|
||||
import Typography from '@material-ui/core/Typography';
|
||||
import { makeStyles } from '@material-ui/core/styles';
|
||||
import Typography from '@material-ui/core/Typography';
|
||||
import { DateTime } from 'luxon';
|
||||
import React, { PropsWithChildren } from 'react';
|
||||
import useAsync from 'react-use/lib/useAsync';
|
||||
@@ -199,7 +200,9 @@ export const FossaCard = (props: { variant?: InfoCardVariants }) => {
|
||||
<Grid item className={classes.lastAnalyzed}>
|
||||
Based on {value.dependencyCount} Dependencies on branch{' '}
|
||||
<Tooltip title="The default branch can be changed by a FOSSA admin.">
|
||||
<span className={classes.branch}>{value.projectDefaultBranch}</span>
|
||||
<Typography className={classes.branch}>
|
||||
{value.projectDefaultBranch}
|
||||
</Typography>
|
||||
</Tooltip>
|
||||
.
|
||||
</Grid>
|
||||
|
||||
@@ -27,6 +27,7 @@ import {
|
||||
getEntityRelations,
|
||||
} from '@backstage/plugin-catalog-react';
|
||||
import { Tooltip } from '@material-ui/core';
|
||||
import Typography from '@material-ui/core/Typography';
|
||||
import { Skeleton } from '@material-ui/lab';
|
||||
import { DateTime } from 'luxon';
|
||||
import * as React from 'react';
|
||||
@@ -140,11 +141,11 @@ const columns: TableColumn<FossaRow>[] = [
|
||||
DateTime.DATETIME_MED,
|
||||
)}
|
||||
>
|
||||
<span>
|
||||
<Typography component="span">
|
||||
{DateTime.fromISO(details.timestamp).toRelative({
|
||||
locale: 'en',
|
||||
})}
|
||||
</span>
|
||||
</Typography>
|
||||
</Tooltip>
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user