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 {
201201 deposits: Observable <AccountDepositId []>;
202202 constructor (private readonly afs : AngularFirestore ) {
203203 this .depositCollection = afs .collection <AccountDeposit >(' deposits' );
204- this .deposits = this .shirtCollection .stateChanges ([' added' ])
204+ this .deposits = this .depositCollection .stateChanges ([' added' ])
205205 .map (actions => {
206206 return actions .map (a => {
207207 const data = a .payload .doc .data () as AccountDeposit ;
@@ -246,7 +246,7 @@ export class AppComponent {
246246 accountLogs: Observable <AccountLogItemId []>;
247247 constructor (private readonly afs : AngularFirestore ) {
248248 this .accountLogCollection = afs .collection <AccountLogItem >(' accountLog' );
249- this .accountLogs = this .shirtCollection .auditTrail ()
249+ this .accountLogs = this .accountLogCollection .auditTrail ()
250250 .map (actions => {
251251 return actions .map (a => {
252252 const data = a .payload .doc .data () as AccountLogItem ;
You can’t perform that action at this time.
0 commit comments