should this.currentBill be an object? Or a string? Sounds like it may be an accidental object.
also, try ensuring that billId = string;let tempId = billId.toString();
return firebase.database().ref('Bill/' + tempId).child(tempId);
might work.
↧
Cannot set property 'id' of null
↧