forms-angular 0.12.0-beta.247 → 0.12.0-beta.248
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/server/data_form.js +7 -2
- package/package.json +1 -1
package/dist/server/data_form.js
CHANGED
|
@@ -997,8 +997,13 @@ class FormsAngular {
|
|
|
997
997
|
if (nextKeys.length !== 1) {
|
|
998
998
|
throw new Error('Invalid pipeline instruction');
|
|
999
999
|
}
|
|
1000
|
-
if (nextKeys[0] === '$unwind'
|
|
1001
|
-
|
|
1000
|
+
if (nextKeys[0] === '$unwind') {
|
|
1001
|
+
if (nextStage["$unwind"] === "$" + lookupField) {
|
|
1002
|
+
nextStageIsUnwind = true;
|
|
1003
|
+
}
|
|
1004
|
+
if (nextStage["$unwind"] && nextStage["$unwind"].path === "$" + lookupField) {
|
|
1005
|
+
nextStageIsUnwind = true;
|
|
1006
|
+
}
|
|
1002
1007
|
}
|
|
1003
1008
|
}
|
|
1004
1009
|
if (!nextStageIsUnwind) {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"author": "Mark Chapman <support@forms-angular.org>",
|
|
4
4
|
"description": "A form builder that sits on top of Angular.js, Twitter Bootstrap, jQuery UI, Angular-UI, Express and Mongoose. Opinionated or what?",
|
|
5
5
|
"homepage": "http://forms-angular.org",
|
|
6
|
-
"version": "0.12.0-beta.
|
|
6
|
+
"version": "0.12.0-beta.248",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=8.x",
|
|
9
9
|
"npm": ">=5.x"
|