Fixed error with modal and datas
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
import {Component} from '@angular/core';
|
||||
import {IonicModule} from "@ionic/angular";
|
||||
|
||||
@Component({
|
||||
selector: 'app-generic-profile',
|
||||
templateUrl: './generic-profile.component.html',
|
||||
styleUrls: ['./generic-profile.component.scss'],
|
||||
imports: [
|
||||
IonicModule
|
||||
]
|
||||
})
|
||||
export class GenericProfileComponent {
|
||||
}
|
||||
@@ -80,7 +80,7 @@ export class SearchFriendComponent implements OnInit {
|
||||
await toast.present();
|
||||
} catch (e) {
|
||||
const toast = await this.toastCtrl.create({
|
||||
message: 'Erreur lors de l\'ajout d\'amis',
|
||||
message: 'Vous êtes déjà ami avec cette personne',
|
||||
duration: 2000,
|
||||
color: 'danger'
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user