Modify the value of Service Account in the details to correct the error that was not showing the service account

This commit is contained in:
ebarrios
2020-09-21 10:22:41 +02:00
parent 8e73d3b5bf
commit 1f973f4867
@@ -66,6 +66,8 @@ export const WorkflowRunDetails = ({ entity }: { entity: Entity }) => {
const details = useWorkflowRunsDetails(projectId);
const serviceAccount = (details.value?.logUrl ?? '=').split('=');
const classes = useStyles();
if (error) {
return (
@@ -116,7 +118,7 @@ export const WorkflowRunDetails = ({ entity }: { entity: Entity }) => {
<Typography noWrap>Service Account</Typography>
</TableCell>
<TableCell>
{`${details.value?.projectId}`}@cloudbuild.gserviceaccount.com
{`${serviceAccount[1]}`}@cloudbuild.gserviceaccount.com
</TableCell>
</TableRow>
<TableRow>