Sponsor Lightning support.

This commit is contained in:
softsimon
2020-10-26 18:29:25 +07:00
parent b544af14e4
commit 99162f5ec9
7 changed files with 72 additions and 14 deletions

View File

@@ -17,6 +17,7 @@ import { map } from 'rxjs/operators';
export class AboutComponent implements OnInit {
gitCommit$: Observable<string>;
donationForm: FormGroup;
paymentForm: FormGroup;
donationStatus = 1;
sponsors$: Observable<any>;
donationObj: any;
@@ -42,6 +43,10 @@ export class AboutComponent implements OnInit {
handle: [''],
});
this.paymentForm = this.formBuilder.group({
'method': 'chain'
});
this.apiService.getDonation$()
.subscribe((sponsors) => {
this.sponsors = sponsors;