Cleaned code

This commit is contained in:
2026-04-26 17:19:44 +01:00
parent 3eacc4976d
commit 5e6b03356c
57 changed files with 1578 additions and 712 deletions
@@ -17,7 +17,7 @@
<i class="fa-solid fa-crown text-xs text-yellow-600"></i>
}
<div class="flex items-center justify-end gap-1 w-full">
@if (user.grade == 'Member'){
@if (user.grade == 'Member') {
<ion-icon class="text-2xl text-green-800 cursor-pointer" name="arrow-up-circle-outline"
(click)="promoteUser(user.id)"></ion-icon>
<app-pipe></app-pipe>
@@ -33,7 +33,7 @@
<i class="fa-solid fa-crown text-xs text-yellow-600"></i>
}
<div class="flex items-center justify-end gap-1 w-full">
@if (user.grade == 'Member'){
@if (user.grade == 'Member') {
<ion-icon class="text-2xl text-green-800 cursor-pointer" name="arrow-up-circle-outline"
(click)="promoteUser(user.id)"></ion-icon>
<app-pipe></app-pipe>
@@ -69,7 +69,7 @@ export class GroupInfoComponent implements OnInit {
await loading.dismiss();
}
async leaveGroup(){
async leaveGroup() {
const loading = await this.loadCtrl.create({
message: 'Chargement...',
spinner: 'lines-sharp-small'
@@ -95,9 +95,10 @@ export class GroupInfoComponent implements OnInit {
await loading.dismiss();
}
addToGroup(){}
addToGroup() {
}
async deleteGroup(){
async deleteGroup() {
const loading = await this.loadCtrl.create({
message: 'Suppression...',
spinner: 'lines-sharp-small'
@@ -123,7 +124,7 @@ export class GroupInfoComponent implements OnInit {
await loading.dismiss();
}
async promoteUser(id: number){
async promoteUser(id: number) {
const loading = await this.loadCtrl.create({
message: 'Promotion...',
spinner: 'lines-sharp-small'