@imposium-hub/components 1.24.8 → 1.24.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -355,7 +355,7 @@ class StoryPreviewer extends React.PureComponent<IStoryPreviewerProps, IStoryPre
355
355
  }
356
356
  }
357
357
 
358
- private getExperience(experienceId, triggerJob = false, compositionId ? : string) {
358
+ private getExperience(experienceId, triggerJob = false, compositionId ? : string, useWorkingCopy? : boolean) {
359
359
 
360
360
  if (!this.timer.running) {
361
361
  this.timer.start();
@@ -371,7 +371,7 @@ class StoryPreviewer extends React.PureComponent<IStoryPreviewerProps, IStoryPre
371
371
  }, () => {
372
372
 
373
373
  if (triggerJob) {
374
- api.triggerEvent(experienceId, compositionId).then((resTrigger) => {
374
+ api.triggerEvent(experienceId, compositionId, useWorkingCopy).then((resTrigger) => {
375
375
 
376
376
  this.setState({
377
377
  jobId: resTrigger.job_id
@@ -471,7 +471,7 @@ class StoryPreviewer extends React.PureComponent<IStoryPreviewerProps, IStoryPre
471
471
  onExperienceCreated(resExp);
472
472
  }
473
473
 
474
- this.getExperience(resExp.id, true, compositionId);
474
+ this.getExperience(resExp.id, true, compositionId, useWorkingCopy);
475
475
 
476
476
  }).catch((e) => {
477
477
  this.resetState();