@micropermit/client-angular 0.4.4-alpha1 → 0.4.4-alpha3
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/bundles/micropermit-client-angular.umd.js +5 -7
- package/bundles/micropermit-client-angular.umd.js.map +1 -1
- package/bundles/micropermit-client-angular.umd.min.js +1 -1
- package/bundles/micropermit-client-angular.umd.min.js.map +1 -1
- package/esm2015/lib/directives/linkfield.directive.js +6 -8
- package/esm5/lib/directives/linkfield.directive.js +6 -8
- package/fesm2015/micropermit-client-angular.js +5 -7
- package/fesm2015/micropermit-client-angular.js.map +1 -1
- package/fesm5/micropermit-client-angular.js +5 -7
- package/fesm5/micropermit-client-angular.js.map +1 -1
- package/micropermit-client-angular.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -2170,8 +2170,6 @@
|
|
|
2170
2170
|
*/
|
|
2171
2171
|
function (from) {
|
|
2172
2172
|
this._from = from;
|
|
2173
|
-
this.clear();
|
|
2174
|
-
this.load();
|
|
2175
2173
|
},
|
|
2176
2174
|
enumerable: true,
|
|
2177
2175
|
configurable: true
|
|
@@ -2274,11 +2272,6 @@
|
|
|
2274
2272
|
*/
|
|
2275
2273
|
function () {
|
|
2276
2274
|
this.updateIfDirty();
|
|
2277
|
-
// if (this._from) {
|
|
2278
|
-
// if (this._from instanceof LinkField && this.lastObs !== this._from.listenObs()) {
|
|
2279
|
-
// this.load();
|
|
2280
|
-
// }
|
|
2281
|
-
// }
|
|
2282
2275
|
};
|
|
2283
2276
|
/**
|
|
2284
2277
|
* @return {?}
|
|
@@ -2302,6 +2295,10 @@
|
|
|
2302
2295
|
if (!(this._from instanceof LinkField)) {
|
|
2303
2296
|
this._from = LinkField.from((/** @type {?} */ (this._from)));
|
|
2304
2297
|
}
|
|
2298
|
+
if (changes.linkFieldFrom.previousValue !== changes.linkFieldFrom.currentValue) {
|
|
2299
|
+
this.clear();
|
|
2300
|
+
this.load();
|
|
2301
|
+
}
|
|
2305
2302
|
}
|
|
2306
2303
|
if (changes.linkFieldParams && this.linkFieldParams) {
|
|
2307
2304
|
/** @type {?} */
|
|
@@ -2383,6 +2380,7 @@
|
|
|
2383
2380
|
if (this.isDirty) {
|
|
2384
2381
|
this._viewContainer.remove();
|
|
2385
2382
|
this._viewContainer.createEmbeddedView(this._template, this.currentContext);
|
|
2383
|
+
this.isDirty = false;
|
|
2386
2384
|
}
|
|
2387
2385
|
}
|
|
2388
2386
|
};
|