sf-crud 12.1.0 → 12.1.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.
package/bundles/sf-crud.umd.js
CHANGED
|
@@ -1616,7 +1616,10 @@
|
|
|
1616
1616
|
TableroComponent.prototype.execAction = function (params) {
|
|
1617
1617
|
switch (params.action) {
|
|
1618
1618
|
case 'redirect':
|
|
1619
|
-
this.router.navigateByUrl(this.aplyKeys(this.crudConfig.tablero.keys, params.link, this.itemSelected))
|
|
1619
|
+
this.router.navigateByUrl(this.aplyKeys(this.crudConfig.tablero.keys, params.link, this.itemSelected)).then(function () {
|
|
1620
|
+
if (params.reload)
|
|
1621
|
+
window.location.reload();
|
|
1622
|
+
});
|
|
1620
1623
|
break;
|
|
1621
1624
|
default:
|
|
1622
1625
|
this.onSelectAction.emit({ data: ___namespace.cloneDeep(this.itemSelected), params: params });
|