Merge branch 'thierry' of ssh://git.marbelium.com:10023/Viiciouss/XJC into anis

thierry
Viiciouss 7 years ago
commit fe446e7c9d

@ -47,6 +47,7 @@ export class ListeOpCommercialComponent implements OnInit, OnDestroy {
(auth) => {
if (auth) {
// Admin
console.log('ououou admin: ' + auth.uid);
this.adminData = this.afDb.list('/Admin/', {
query: {
orderByChild: 'uid',
@ -56,6 +57,7 @@ export class ListeOpCommercialComponent implements OnInit, OnDestroy {
);
this.adminData.forEach(avantage => {
avantage.forEach(elementavantage => {
console.log('elementavantage' + elementavantage.email);
this.admin = elementavantage;
console.log(this.admin.avantageCumule);
});

Loading…
Cancel
Save