fixes loop bug, and assigns eventId instead of assetId
fixes loop bug, and assigns eventId instead of assetId

oceanzus/ooi-ui-services,Bobfrat/ooi-ui-services,FBRTMaka/ooi-ui-services,asascience-open/ooi-ui-services,birdage/ooi-ui-services