Add close button
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
<div class="modal-content p-3">
|
||||
<div>
|
||||
<button (click) ="onClose()" type="button" class="close" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<form (ngSubmit)="onSubmit()">
|
||||
<div class="form-group">
|
||||
<label for="Title">Titel</label>
|
||||
|
||||
@@ -49,4 +49,7 @@ export class UserstoryFormComponent implements OnInit {
|
||||
this.submitted = true;
|
||||
this.activeModalService.close(this.userstory);
|
||||
}
|
||||
onClose(){
|
||||
this.activeModalService.dismiss(this.userstory);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user