Skip to content

Commit

Permalink
[frontend] deepscan (#5548-support-logs)
Browse files Browse the repository at this point in the history
  • Loading branch information
SarahBocognano committed May 2, 2024
1 parent c6b08da commit ad5cb43
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const SupportPackageLine: FunctionComponent<SupportPackageLineProps> = ({
const [deleting, setDeleting] = useState(false);
const [commitDelete] = useMutation(SupportPackageLineDeleteMutation);
const [commitForceZip] = useMutation(SupportPackageLineForceZipMutation);
const isProgress = data?.package_status === 'IN_PROGRESS';
const isProgress = data.package_status === 'IN_PROGRESS';

const handleOpenDelete = () => {
setDisplayDelete(true);
Expand Down Expand Up @@ -189,7 +189,7 @@ const SupportPackageLine: FunctionComponent<SupportPackageLineProps> = ({
className={classes.bodyItem}
style={{ width: dataColumns.name.width }}
>
{data?.name}
{data.name}
</div>
</Tooltip>
<div
Expand All @@ -203,7 +203,7 @@ const SupportPackageLine: FunctionComponent<SupportPackageLineProps> = ({
borderColor: packageStatusColors[data.package_status],
backgroundColor: hexToRGB(packageStatusColors[data.package_status]),
}}
label={data?.package_status}
label={data.package_status}
/>
</div>
<div
Expand Down Expand Up @@ -236,7 +236,7 @@ const SupportPackageLine: FunctionComponent<SupportPackageLineProps> = ({
<IconButton
disabled={isProgress || !data.package_url}
href={`${APP_BASE_PATH}/storage/get/${encodeURIComponent(
data?.package_url || '',
data.package_url || '',
)}`}
>
<GetAppOutlined fontSize="small" />
Expand Down

0 comments on commit ad5cb43

Please sign in to comment.