Merge pull request #2401 from loganhz/sidecar

Fix sidecar issue
This commit is contained in:
Westly Wright 2018-11-14 10:04:12 -07:00 committed by GitHub
commit ae2f5b7cb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -242,6 +242,10 @@ export default Component.extend(NewOrEdit, ChildHook, {
if (get(errors, 'length')) {
set(this, 'errors', errors);
if ( get(this, 'isSidekick') && !get(this, 'isUpgrade') ) {
get(pr, 'secondaryLaunchConfigs').pop();
}
return false;
}