File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ export class AppComponent {
201
201
deposits: Observable <AccountDepositId []>;
202
202
constructor (private readonly afs : AngularFirestore ) {
203
203
this .depositCollection = afs .collection <AccountDeposit >(' deposits' );
204
- this .deposits = this .shirtCollection .stateChanges ([' added' ])
204
+ this .deposits = this .depositCollection .stateChanges ([' added' ])
205
205
.map (actions => {
206
206
return actions .map (a => {
207
207
const data = a .payload .doc .data () as AccountDeposit ;
@@ -246,7 +246,7 @@ export class AppComponent {
246
246
accountLogs: Observable <AccountLogItemId []>;
247
247
constructor (private readonly afs : AngularFirestore ) {
248
248
this .accountLogCollection = afs .collection <AccountLogItem >(' accountLog' );
249
- this .accountLogs = this .shirtCollection .auditTrail ()
249
+ this .accountLogs = this .accountLogCollection .auditTrail ()
250
250
.map (actions => {
251
251
return actions .map (a => {
252
252
const data = a .payload .doc .data () as AccountLogItem ;
You can’t perform that action at this time.
0 commit comments