Commit ef6be6ab by Your Name

enter

parent f38d0a45
......@@ -72,7 +72,7 @@
<a ngbNavLink>ปฏิทินการจองห้อง</a>
<ng-template ngbNavContent>
<full-calendar #calendarBook [options]="calendarRoom" style="
margin-top: 20px;" (click)="eventClick(showRoom)"></full-calendar>
margin-top: 20px;" (eventClick)="eventShow(showRoom)"></full-calendar>
</ng-template>
</li>
<li [ngbNavItem]="2">
......
......@@ -220,7 +220,7 @@ export class HomePageComponent implements OnInit {
}
eventClick(showRoom) {
eventShow(showRoom) {
this.modalService.open(showRoom, { ariaLabelledBy: 'modal-basic-title' }).result.then((result) => {
this.closeResult = `Closed with: ${result}`;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment