Find a nice way to handle blank mission flow
ia3andy opened this issue · 3 comments
ia3andy commented
They are currently handled by this hack and maybe some others I haven't seen:
handleBlankMissionFlow(): void {
if (this.launcherComponent.summary.mission && this.launcherComponent.summary.runtime &&
this.launcherComponent.summary.mission.id === 'blank-mission') {
let runtimeSp: any = this.launcherComponent.summary.runtime;
if (runtimeSp && runtimeSp.boosters && runtimeSp.boosters.length > 0) {
let supportedMission: any = runtimeSp.boosters[0];
this.launcherComponent.summary.mission.meta = supportedMission.mission.id;
}
}
}
edewit commented
This will take the first booster of the selected runtime and set that as mission.meta
in most cases it will be 'health-check'? I'm seriously doubting that this is needed.
edewit commented
blank mission flow has been removed