Skip to content
This repository has been archived by the owner on Mar 25, 2023. It is now read-only.

Commit

Permalink
feat(vm-creation): Improve shared SGs - Support assigning of many gro…
Browse files Browse the repository at this point in the history
…ups during VM creation - fixes 2
  • Loading branch information
HeyRoach committed Nov 1, 2017
1 parent 316ead9 commit 7e0ed66
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { Rules } from '../../../../shared/components/security-group-builder/rule
import { VmCreationSecurityGroupData } from '../../security-group/vm-creation-security-group-data';
import { VmCreationSecurityGroupMode } from '../../security-group/vm-creation-security-group-mode';
import { VmCreationSecurityGroupComponent } from '../security-group/vm-creation-security-group.component';
import * as cloneDeep from 'lodash/cloneDeep';


@Component({
Expand Down Expand Up @@ -74,9 +75,10 @@ export class VmCreationSecurityGroupRulesManagerComponent implements ControlValu
}

public showDialog(): void {
const data = cloneDeep(this.savedData);
this.dialog.open(VmCreationSecurityGroupComponent, {
width: '800px',
data: this.savedData
data
})
.afterClosed()
.subscribe((data: any) => {
Expand Down

0 comments on commit 7e0ed66

Please sign in to comment.