diff --git a/src/app/components/group/group.component.ts b/src/app/components/group/group.component.ts index 699a07a..5695b99 100644 --- a/src/app/components/group/group.component.ts +++ b/src/app/components/group/group.component.ts @@ -115,7 +115,7 @@ export class GroupComponent implements OnInit { this.groupService.group.subscribe(response => { if (response) { if (response.id) { - if(response.id.toString() === this.id){ + if (response.id.toString() === this.id) { this.loading = false; } } diff --git a/src/app/models/reportReason.ts b/src/app/models/reportReason.ts index ba059d0..f06ce35 100644 --- a/src/app/models/reportReason.ts +++ b/src/app/models/reportReason.ts @@ -8,4 +8,4 @@ export class ReportReason { this.name = name; this.description = describtion; } -} \ No newline at end of file +} diff --git a/src/app/models/user.ts b/src/app/models/user.ts index 09fddca..b083aea 100644 --- a/src/app/models/user.ts +++ b/src/app/models/user.ts @@ -18,7 +18,7 @@ export class User { joinedAt: string; friendCount: number; groupCount: number; - isAdmin: boolean = false; + isAdmin = false; isGroupAdmin: boolean; darkmode = false;