|
|
|
@ -241,7 +241,7 @@ export class EnvoyerCarteComponent implements OnInit, OnDestroy {
|
|
|
|
|
let secondaryApp = null;
|
|
|
|
|
secondaryApp = firebase.initializeApp(config, 'Secondary');*/
|
|
|
|
|
|
|
|
|
|
this.carteEnvoieEncours = true;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let parrainTemp = new Parrain();
|
|
|
|
|
this.carteEnvoieOK = false;
|
|
|
|
@ -304,6 +304,7 @@ export class EnvoyerCarteComponent implements OnInit, OnDestroy {
|
|
|
|
|
if (elementParTemp.uid !== '') {
|
|
|
|
|
this.getIdParrain(elementParTemp.uid);
|
|
|
|
|
this.creerCartePar();
|
|
|
|
|
this.carteEnvoieEncours = true;
|
|
|
|
|
this.carteEnvoieOK = true;
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
this.carteEnvoieEncours = false;
|
|
|
|
@ -458,6 +459,7 @@ export class EnvoyerCarteComponent implements OnInit, OnDestroy {
|
|
|
|
|
if (this.carteExitDeja === false) {
|
|
|
|
|
console.log('cestBon !!');
|
|
|
|
|
this.creerCartePar();
|
|
|
|
|
this.carteEnvoieEncours = true;
|
|
|
|
|
this.carteEnvoieOK = true;
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
this.carteEnvoieEncours = false;
|
|
|
|
@ -528,7 +530,7 @@ export class EnvoyerCarteComponent implements OnInit, OnDestroy {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
envoyerCartePar(){
|
|
|
|
|
this.carteEnvoieEncours = true;
|
|
|
|
|
|
|
|
|
|
this.carteExist(this.cartePar.parrainCarte.uid);
|
|
|
|
|
|
|
|
|
|
// this.goToOpComm();
|
|
|
|
|