@@ -286,6 +286,7 @@ export default function createWorkAllocationMachine({ urlParams }: CreateWorkAll
286286 numSlides,
287287 numOriginalSamples,
288288 ssStudyId,
289+ xeniumStudyId,
289290 facultyLead
290291 } = input . values ;
291292 return stanCore . CreateWork ( {
@@ -300,7 +301,8 @@ export default function createWorkAllocationMachine({ urlParams }: CreateWorkAll
300301 numOriginalSamples,
301302 omeroProject,
302303 facultyLead,
303- ssStudyId : ssStudyId ? Number ( ssStudyId ) : null
304+ ssStudyId : ssStudyId ? Number ( ssStudyId ) : null ,
305+ xeniumStudyId : xeniumStudyId ? Number ( xeniumStudyId ) : null
304306 } ) ;
305307 } ) ,
306308 input : ( { event } ) => {
@@ -381,6 +383,7 @@ export default function createWorkAllocationMachine({ urlParams }: CreateWorkAll
381383 numOriginalSamples,
382384 omeroProject,
383385 dnapStudy,
386+ xeniumStudy,
384387 facultyLead
385388 } = event . output . createWork ;
386389 const blockSlideSampleMsg = [
@@ -397,7 +400,9 @@ export default function createWorkAllocationMachine({ urlParams }: CreateWorkAll
397400 workType . name
398401 } - ${ blockSlideSampleMsg } ) to project (cost code description) ${ project . name . trim ( ) } ${
399402 omeroProject ? `, Omero project ${ omeroProject . name } ` : ''
400- } ${ dnapStudy ? `, DNAP study name '${ dnapStudy . name } '` : '' } , program ${ program . name }
403+ } ${ dnapStudy ? `, DNAP study name '${ dnapStudy . name } '` : '' } ${
404+ xeniumStudy ? `, Xenium study name '${ xeniumStudy . name } '` : ''
405+ } , program ${ program . name }
401406 ${ facultyLead ? `and faculty lead ${ facultyLead . name } ` : '' }
402407 using cost code ${ costCode . code } with the work requester ${ workRequester ?. username } ` ;
403408 } ) ;
0 commit comments