migration
This commit is contained in:
@@ -23,8 +23,10 @@ export class VoucherComponent implements OnInit {
|
||||
|
||||
ngOnInit(): void {
|
||||
this.voucherSource.data = this.vouchers;
|
||||
this.voucherService.get().subscribe((data: any) => {
|
||||
this.available = data;
|
||||
this.voucherService.get().subscribe({
|
||||
next: (data: any) => {
|
||||
this.available = data;
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user