make members un-deletable
This commit was merged in pull request #10.
This commit is contained in:
+2
-7
@@ -1,10 +1,5 @@
|
||||
import { Component, Inject } from '@angular/core';
|
||||
import {
|
||||
FormControl,
|
||||
FormGroup,
|
||||
ReactiveFormsModule,
|
||||
Validators,
|
||||
} from '@angular/forms';
|
||||
import { FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms';
|
||||
import { MatButtonModule } from '@angular/material/button';
|
||||
import { MatCheckboxModule } from '@angular/material/checkbox';
|
||||
import { MatOptionModule } from '@angular/material/core';
|
||||
@@ -47,7 +42,7 @@ export class DeleteMemberDialogComponent {
|
||||
) {
|
||||
this.member = data.member;
|
||||
this.form = new FormGroup<DeletionForm>({
|
||||
kuendigungzum: new FormControl(null, [Validators.required]),
|
||||
kuendigungzum: new FormControl(null),
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user