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