@coolon/angular-ui-powerups 0.0.76 → 0.0.77
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/coolon-angular-ui-powerups.umd.js +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
- package/esm2015/lib/place/place-history.js +2 -2
- package/esm5/lib/place/place-history.js +2 -2
- package/fesm2015/coolon-angular-ui-powerups.js +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +1 -1
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/package.json +1 -1
|
@@ -3933,7 +3933,7 @@
|
|
|
3933
3933
|
/** @type {?} */
|
|
3934
3934
|
var history = this.getHistory(state.placeDefinition);
|
|
3935
3935
|
/** @type {?} */
|
|
3936
|
-
var previousState = ___default__default.
|
|
3936
|
+
var previousState = ___default__default.first(history);
|
|
3937
3937
|
if (!previousState || state.hasChangedFrom(previousState)) {
|
|
3938
3938
|
history.unshift(state); // LIFO
|
|
3939
3939
|
this.setHistory(state.placeDefinition, history.slice(0, 3)); // limit our history to 4 visits
|