+ openVisitorModal (event: any) {
+ if (this.user === null) { // we only open it for visitors
+ // fixing ng-bootstrap ModalService and the "Expression Changed After It Has Been Checked" Error
+ event.srcElement.blur()
+ event.preventDefault()
+
+ this.modalService.open(this.visitorModal)
+ }
+ }
+
+ hideVisitorModal () {
+ this.modalService.dismissAll()
+ }
+