Skip to content

Commit

Permalink
fix(date-picker): Fixed import and hide function #3034
Browse files Browse the repository at this point in the history
  • Loading branch information
sboykova committed Feb 20, 2019
1 parent 4dab8fe commit 7cbff7a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import {
HorizontalAlignment,
PositionSettings,
ConnectedPositioningStrategy
} from '../services';
} from '../services/index';
import { DateRangeDescriptor } from '../core/dates/dateRange';
import { EditorProvider } from '../core/edit-provider';
import { IgxButtonModule } from '../directives/button/button.directive';
Expand Down Expand Up @@ -806,7 +806,7 @@ export class IgxDatePickerComponent implements IDatePicker, ControlValueAccessor
*@hidden
*/
public ngOnDestroy(): void {
this._overlayService.hideAll();
this._overlayService.hide(this._componentID);
this._destroy$.next(true);
this._destroy$.complete();
}
Expand Down

0 comments on commit 7cbff7a

Please sign in to comment.