diff --git a/client/modules/_hooks/src/workspace/types.ts b/client/modules/_hooks/src/workspace/types.ts index febcb0a190..035d1ec608 100644 --- a/client/modules/_hooks/src/workspace/types.ts +++ b/client/modules/_hooks/src/workspace/types.ts @@ -192,7 +192,7 @@ export type TTapisJob = { stageAppTransactionId?: string; status: string; subscriptions: string; - tags: string[]; + tags: string[] | null; tapisQueue: string; tenant: string; uuid: string; diff --git a/client/modules/workspace/src/utils/jobs.ts b/client/modules/workspace/src/utils/jobs.ts index 89b58a00fd..3915fe9923 100644 --- a/client/modules/workspace/src/utils/jobs.ts +++ b/client/modules/workspace/src/utils/jobs.ts @@ -68,7 +68,7 @@ export function getOutputPath(job: TTapisJob) { } export function isInteractiveJob(job: TTapisJob) { - return job.tags.includes('isInteractive'); + return job.tags?.includes('isInteractive'); } export function getJobInteractiveSessionInfo(