1.0.0 #253

Merged
edraft merged 262 commits from 1.0.0 into master 2023-03-27 09:30:50 +02:00
Showing only changes of commit 15214b1c99 - Show all commits

View File

@ -18,6 +18,7 @@ import { Mutations } from "../../../../models/graphql/mutations.model";
import { throwError } from "rxjs";
import { UpdateUserMutationResult } from "../../../../models/graphql/result.model";
import { ActivatedRoute } from "@angular/router";
import { Level } from "../../../../models/data/level.model";
@Component({
selector: "app-members",
@ -64,7 +65,7 @@ export class MembersComponent implements OnInit {
discordId: FormControl<number | null>,
name: FormControl<string | null>,
leftServer: FormControl<boolean | null>,
level: FormControl<number | null>
level: FormControl<Level | null>
}>;
filter: UserFilter = {};
@ -130,7 +131,7 @@ export class MembersComponent implements OnInit {
discordId: new FormControl<number | null>(null),
name: [""],
leftServer: new FormControl<boolean | null>(null),
level: new FormControl<number | null>(null)
level: new FormControl<Level | null>(null)
});
this.filterForm.valueChanges.pipe(
@ -162,7 +163,7 @@ export class MembersComponent implements OnInit {
if (changes.level) {
this.filter.level = {
id: changes.level
id: changes.level.id
};
} else {
this.filter.level = undefined;