Browse Source

fix lint errors

pull/7481/head
mehmet-erim 6 years ago
parent
commit
0f8b67aa3c
  1. 2
      npm/ng-packs/packages/theme-shared/src/lib/components/modal/modal-container.component.ts
  2. 6
      npm/ng-packs/packages/theme-shared/src/lib/components/modal/modal.component.ts

2
npm/ng-packs/packages/theme-shared/src/lib/components/modal/modal-container.component.ts

@ -5,7 +5,7 @@ import { Component, ViewChild, ViewContainerRef } from '@angular/core';
*/ */
@Component({ @Component({
selector: 'abp-modal-container', selector: 'abp-modal-container',
template: ` <ng-container #container></ng-container> `, template: '<ng-container #container></ng-container>',
}) })
export class ModalContainerComponent { export class ModalContainerComponent {
@ViewChild('container', { static: true, read: ViewContainerRef }) @ViewChild('container', { static: true, read: ViewContainerRef })

6
npm/ng-packs/packages/theme-shared/src/lib/components/modal/modal.component.ts

@ -85,9 +85,9 @@ export class ModalComponent implements OnDestroy {
@Output() readonly init = new EventEmitter<void>(); @Output() readonly init = new EventEmitter<void>();
@Output() readonly appear = new EventEmitter(); @Output() readonly appear = new EventEmitter<void>();
@Output() readonly disappear = new EventEmitter(); @Output() readonly disappear = new EventEmitter<void>();
_visible = false; _visible = false;
@ -135,7 +135,7 @@ export class ModalComponent implements OnDestroy {
setTimeout(() => this.listen(), 0); setTimeout(() => this.listen(), 0);
this.modalRef = this.modal.open(this.modalContent, { this.modalRef = this.modal.open(this.modalContent, {
//TODO: set size to 'lg' when removed the size variable // TODO: set size to 'lg' when removed the size variable
size: this.size, size: this.size,
windowClass: this.modalClass, windowClass: this.modalClass,
centered: this.centered, centered: this.centered,

Loading…
Cancel
Save