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

fix(vm creation): change the condition to show firewall rule selector (closes #746) #749

Merged
merged 5 commits into from
Dec 8, 2017

Conversation

dariashka
Copy link
Contributor

…in vm creation dialog

  • change model of Zones

…in vm creation dialog

+ change model of Zones
@zolotyx zolotyx changed the title fix(vm creation) change the condition to show firewall rule selector (closes #746) fix(vm creation): change the condition to show firewall rule selector (closes #746) Dec 8, 2017
@@ -13,4 +13,11 @@ export class ZoneService extends BaseBackendCachedService<Zone> {
constructor(protected http: HttpClient) {
super(http);
}

protected prepareModel(res, entityModel?): Zone {
if (entityModel) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this condition required?

@@ -69,10 +69,6 @@ export class VmCreationState {
return this.diskOffering && this.diskOffering.isCustomized;
}

public get showSecurityGroups(): boolean {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's leave this but check capabilities also

Darya Baklanova added 4 commits December 8, 2017 15:16
@dariashka dariashka merged commit 9a07942 into master Dec 8, 2017
@dariashka dariashka deleted the 746-creation-firewall-rule-bug branch December 8, 2017 09:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants