ngOnInit() {
this.defaultTabType =
- this.store.getLocalItem('eg.acq.fund_details.default_tab') || 'details';
+ this.store.getLocalItem('eg.acq.fund_details.default_tab') || 'summary';
this.activeTab = this.defaultTabType;
this.fund = null;
- this.onOpen$.subscribe(() => this._initRecord());
+ this.onOpen$.subscribe(() => {
+ this.activeTab = this.defaultTabType;
+ this._initRecord();
+ });
this.idlDef = this.idl.classes['acqf'];
this.fieldOrder = 'name,code,year,org,active,currency_type,balance_stop_percentage,balance_warning_percentage,propagate,rollover';