This commit is contained in:
parent
c1fa92ea6c
commit
883a56f91d
@ -32,7 +32,6 @@ export class AllowancePage implements ViewWillEnter {
|
|||||||
getAllowance() {
|
getAllowance() {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.allowanceService.getAllowanceList(this.id).subscribe(allowance => {
|
this.allowanceService.getAllowanceList(this.id).subscribe(allowance => {
|
||||||
console.log(allowance)
|
|
||||||
allowance[0].colour = '#9C4BE4';
|
allowance[0].colour = '#9C4BE4';
|
||||||
allowance[0].name = 'Main Allowance';
|
allowance[0].name = 'Main Allowance';
|
||||||
this.allowance$.next(allowance);
|
this.allowance$.next(allowance);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user