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