angular-three 1.9.0 → 1.9.1
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.
|
@@ -2134,10 +2134,12 @@ class NgtRenderer {
|
|
|
2134
2134
|
if (cRS[2 /* NgtRendererClassId.injectedParent */]) {
|
|
2135
2135
|
if (is.ref(cRS[2 /* NgtRendererClassId.injectedParent */])) {
|
|
2136
2136
|
cRS[2 /* NgtRendererClassId.injectedParent */].$.pipe(take(1)).subscribe((val) => {
|
|
2137
|
-
|
|
2137
|
+
if (val !== parent) {
|
|
2138
|
+
this.appendChild(val, newChild);
|
|
2139
|
+
}
|
|
2138
2140
|
});
|
|
2139
2141
|
}
|
|
2140
|
-
else {
|
|
2142
|
+
else if (parent !== cRS[2 /* NgtRendererClassId.injectedParent */]) {
|
|
2141
2143
|
this.appendChild(cRS[2 /* NgtRendererClassId.injectedParent */], newChild);
|
|
2142
2144
|
}
|
|
2143
2145
|
return;
|