ps-toolkit-ui 1.9.56 → 1.9.58
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/ps-toolkit-ui.umd.js +7 -3
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/classes/table.class.js +7 -2
- package/esm2015/lib/components/table/row/table.row.component.js +2 -3
- package/fesm2015/ps-toolkit-ui.js +7 -3
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -2870,8 +2870,7 @@
|
|
|
2870
2870
|
opt.urlNewTab = true;
|
|
2871
2871
|
}
|
|
2872
2872
|
else if (option.InputAction === exports.PermissionInputActionEnum.Link || option.InputAction === exports.PermissionInputActionEnum.LinkNewTab) {
|
|
2873
|
-
|
|
2874
|
-
opt.url = option.Url + '/' + this_2.row.Data.Id;
|
|
2873
|
+
opt.url = option.Url.replace('{}', this_2.row.Data.Id);
|
|
2875
2874
|
opt.urlNewTab = option.InputAction === exports.PermissionInputActionEnum.LinkNewTab;
|
|
2876
2875
|
}
|
|
2877
2876
|
else if (option.InputAction === exports.PermissionInputActionEnum.Modal) {
|
|
@@ -8129,7 +8128,12 @@
|
|
|
8129
8128
|
var listAccess = this.permissions.getAccess(exports.PermissionAccessTypeEnum.List);
|
|
8130
8129
|
if (listAccess !== null) {
|
|
8131
8130
|
this.title = listAccess.Name;
|
|
8132
|
-
|
|
8131
|
+
if (this.permissions.RelatedId) {
|
|
8132
|
+
this.url = listAccess.Url.replace('{}', this.permissions.RelatedId);
|
|
8133
|
+
}
|
|
8134
|
+
else {
|
|
8135
|
+
this.url = listAccess.Url.replace('/{}', '');
|
|
8136
|
+
}
|
|
8133
8137
|
if (this.permissions.Type !== exports.PermissionTypeEnum.Form) {
|
|
8134
8138
|
this.load();
|
|
8135
8139
|
}
|