-
Notifications
You must be signed in to change notification settings - Fork 5
Adding a new question, round count not updated #22
Copy link
Copy link
Open
Labels
is: defectUnexpected behaviour which has previously been definedUnexpected behaviour which has previously been defined
Description
5 questions but count is 4.
The reason for this, is because the it is only looking for rounds that are added not modified
return quizDoc
.collection<Round>('rounds', (ref: firestore.Query) => ref.orderBy('created'))
.stateChanges([ 'added' ])
.pipe(
map((rounds) => rounds
.map((round: DocumentChangeAction<Round>) => round.payload.doc.data({ serverTimestamps: 'estimate' })),
),
);| .stateChanges([ 'added' ]) |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
is: defectUnexpected behaviour which has previously been definedUnexpected behaviour which has previously been defined
