From 13043fc8dbadabb63226cafe3e089cf78cc2a5a7 Mon Sep 17 00:00:00 2001 From: Ilya Surmay Date: Thu, 14 Sep 2017 13:42:47 +0300 Subject: [PATCH] fix(modal): fix bsModalRef paths in demos (#2638) --- .../+modal/demos/service-component/service-component.ts | 2 +- .../components/+modal/demos/service-events/service-events.ts | 2 +- .../components/+modal/demos/service-nested/service-nested.ts | 2 +- .../components/+modal/demos/service-options/service-options.ts | 2 +- .../+modal/demos/service-template/service-template.ts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/demo/src/app/components/+modal/demos/service-component/service-component.ts b/demo/src/app/components/+modal/demos/service-component/service-component.ts index 9efeac4cd9..e468069400 100644 --- a/demo/src/app/components/+modal/demos/service-component/service-component.ts +++ b/demo/src/app/components/+modal/demos/service-component/service-component.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; import { BsModalService } from 'ngx-bootstrap/modal'; -import { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class'; +import { BsModalRef } from 'ngx-bootstrap/modal/bs-modal-ref.service'; @Component({ selector: 'demo-modal-service-component', diff --git a/demo/src/app/components/+modal/demos/service-events/service-events.ts b/demo/src/app/components/+modal/demos/service-events/service-events.ts index 792f34c586..f747afb90f 100644 --- a/demo/src/app/components/+modal/demos/service-events/service-events.ts +++ b/demo/src/app/components/+modal/demos/service-events/service-events.ts @@ -1,6 +1,6 @@ import { Component, TemplateRef } from '@angular/core'; import { BsModalService } from 'ngx-bootstrap/modal'; -import { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class'; +import { BsModalRef } from 'ngx-bootstrap/modal/bs-modal-ref.service'; import { Subscription } from 'rxjs/Subscription'; @Component({ diff --git a/demo/src/app/components/+modal/demos/service-nested/service-nested.ts b/demo/src/app/components/+modal/demos/service-nested/service-nested.ts index 424d6e1f79..b9dd1960a4 100644 --- a/demo/src/app/components/+modal/demos/service-nested/service-nested.ts +++ b/demo/src/app/components/+modal/demos/service-nested/service-nested.ts @@ -1,6 +1,6 @@ import { Component, TemplateRef } from '@angular/core'; import { BsModalService } from 'ngx-bootstrap/modal'; -import { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class'; +import { BsModalRef } from 'ngx-bootstrap/modal/bs-modal-ref.service'; @Component({ selector: 'demo-modal-service-nested', diff --git a/demo/src/app/components/+modal/demos/service-options/service-options.ts b/demo/src/app/components/+modal/demos/service-options/service-options.ts index 091642d580..0ada8cdf00 100644 --- a/demo/src/app/components/+modal/demos/service-options/service-options.ts +++ b/demo/src/app/components/+modal/demos/service-options/service-options.ts @@ -1,6 +1,6 @@ import { Component, TemplateRef } from '@angular/core'; import { BsModalService } from 'ngx-bootstrap/modal'; -import { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class'; +import { BsModalRef } from 'ngx-bootstrap/modal/bs-modal-ref.service'; @Component({ selector: 'demo-modal-service-options', diff --git a/demo/src/app/components/+modal/demos/service-template/service-template.ts b/demo/src/app/components/+modal/demos/service-template/service-template.ts index 1d675d8117..02cb2e12b8 100644 --- a/demo/src/app/components/+modal/demos/service-template/service-template.ts +++ b/demo/src/app/components/+modal/demos/service-template/service-template.ts @@ -1,6 +1,6 @@ import { Component, TemplateRef } from '@angular/core'; import { BsModalService } from 'ngx-bootstrap/modal'; -import { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class'; +import { BsModalRef } from 'ngx-bootstrap/modal/bs-modal-ref.service'; @Component({ selector: 'demo-modal-service-static',