Skip to content

Commit

Permalink
Fix: Pool section disappearing after selecting rendering OS and switc…
Browse files Browse the repository at this point in the history
…hing back to normal (#1584)
  • Loading branch information
timotheeguerin authored Sep 5, 2018
1 parent b3172b6 commit b0901fa
Show file tree
Hide file tree
Showing 6 changed files with 224 additions and 253 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, forwardRef } from "@angular/core";
import { ActivatedRoute } from "@angular/router";
import { List } from "immutable";
import { Observable, Subscription } from "rxjs";

import { Filter, FilterMatcher, autobind } from "@batch-flask/core";
import { ListBaseComponent } from "@batch-flask/core/list";
import { LoadingStatus } from "@batch-flask/ui/loading";
import { QuickListItemStatus } from "@batch-flask/ui/quick-list";
import { SidebarManager } from "@batch-flask/ui/sidebar";
import { BatchAccountCommands } from "app/components/account/action";
import { AccountResource } from "app/models";
import { AccountService, SubscriptionService } from "app/services";
import { List } from "immutable";
import { Observable, Subscription } from "rxjs";
import { flatMap, shareReplay } from "rxjs/operators";

@Component({
Expand All @@ -36,8 +33,6 @@ export class AccountListComponent extends ListBaseComponent implements OnDestroy
constructor(
public commands: BatchAccountCommands,
private accountService: AccountService,
activatedRoute: ActivatedRoute,
sidebarManager: SidebarManager,
changeDetector: ChangeDetectorRef,
private subscriptionService: SubscriptionService) {
super(changeDetector);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { SidebarRef } from "@batch-flask/ui/sidebar";
import { Certificate, NodeFillType, Pool } from "app/models";
import { PoolCreateDto } from "app/models/dtos";
import { CreatePoolModel, PoolOsSources, createPoolToData, poolToFormModel } from "app/models/forms";
import { AccountService, CertificateService, PoolService, PricingService, VmSizeService } from "app/services";
import { AccountService, CertificateService, PoolService, PricingService } from "app/services";
import { Constants, NumberUtils } from "app/utils";

@Component({
Expand Down Expand Up @@ -40,7 +40,6 @@ export class PoolCreateBasicDialogComponent extends DynamicForm<Pool, PoolCreate
private accountService: AccountService,
private certificateService: CertificateService,
private pricingService: PricingService,
vmSizeService: VmSizeService,
changeDetector: ChangeDetectorRef,
private notificationService: NotificationService) {
super(PoolCreateDto);
Expand Down
Loading

0 comments on commit b0901fa

Please sign in to comment.