Display pointer on deployment status tag
This commit is contained in:
parent
a47dda4fbc
commit
1624309607
@ -215,6 +215,13 @@ const Configure = () => {
|
|||||||
onChange={(event) => onChange(event.target.value)}
|
onChange={(event) => onChange(event.target.value)}
|
||||||
size="small"
|
size="small"
|
||||||
displayEmpty
|
displayEmpty
|
||||||
|
sx={{
|
||||||
|
fontFamily: 'inherit',
|
||||||
|
'& .MuiOutlinedInput-notchedOutline': {
|
||||||
|
borderColor: '#e0e0e0',
|
||||||
|
borderRadius: '8px',
|
||||||
|
},
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
<MenuItem value="LRN">Deployer LRN</MenuItem>
|
<MenuItem value="LRN">Deployer LRN</MenuItem>
|
||||||
<MenuItem value="Auction">Create Auction</MenuItem>
|
<MenuItem value="Auction">Create Auction</MenuItem>
|
||||||
|
@ -12,6 +12,7 @@ import {
|
|||||||
DialogTitle,
|
DialogTitle,
|
||||||
DialogContent,
|
DialogContent,
|
||||||
DialogActions,
|
DialogActions,
|
||||||
|
Tooltip,
|
||||||
} from '@mui/material';
|
} from '@mui/material';
|
||||||
|
|
||||||
import { Avatar } from 'components/shared/Avatar';
|
import { Avatar } from 'components/shared/Avatar';
|
||||||
@ -104,7 +105,8 @@ const DeploymentDetailsCard = ({
|
|||||||
const renderDeploymentStatus = useCallback(
|
const renderDeploymentStatus = useCallback(
|
||||||
(className?: string) => {
|
(className?: string) => {
|
||||||
return (
|
return (
|
||||||
<div className={className}>
|
<Tooltip title="Click to view build logs">
|
||||||
|
<div className={className} style={{ cursor: 'pointer' }}>
|
||||||
<Tag
|
<Tag
|
||||||
leftIcon={getIconByDeploymentStatus(deployment.status)}
|
leftIcon={getIconByDeploymentStatus(deployment.status)}
|
||||||
size="xs"
|
size="xs"
|
||||||
@ -114,6 +116,7 @@ const DeploymentDetailsCard = ({
|
|||||||
{deployment.status}
|
{deployment.status}
|
||||||
</Tag>
|
</Tag>
|
||||||
</div>
|
</div>
|
||||||
|
</Tooltip>
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
[deployment.status, deployment.commitHash],
|
[deployment.status, deployment.commitHash],
|
||||||
|
@ -130,7 +130,10 @@ export const AuctionCard = ({ project }: { project: Project }) => {
|
|||||||
Deployer Funds Status
|
Deployer Funds Status
|
||||||
</span>
|
</span>
|
||||||
<div className="ml-2">
|
<div className="ml-2">
|
||||||
<Tag size="xs" type={fundsStatus ? 'positive' : 'emphasized'}>
|
<Tag
|
||||||
|
size="xs"
|
||||||
|
type={fundsStatus ? 'positive' : 'emphasized'}
|
||||||
|
>
|
||||||
{fundsStatus ? 'RELEASED' : 'LOCKED'}
|
{fundsStatus ? 'RELEASED' : 'LOCKED'}
|
||||||
</Tag>
|
</Tag>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user