Skip to content

Commit 5f413b6

Browse files
committed
removed extra if(queryName) in addBundleDocument
1 parent 1b53351 commit 5f413b6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/firestore/src/util/bundle_builder_impl.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,7 @@ export class BundleBuilder {
128128
if (queryName) {
129129
const newDocument = this.documents.get(docBundleData.documentPath)!;
130130
newDocument.metadata.queries = originalQueries || [];
131-
if (queryName) {
132-
newDocument.metadata.queries!.push(queryName);
133-
}
131+
newDocument.metadata.queries!.push(queryName);
134132
}
135133
}
136134

0 commit comments

Comments
 (0)