@esfaenza/admin-module 15.2.9 → 15.2.10
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/esm2020/lib/components/audits/adm_audits.component.mjs +3 -3
- package/esm2020/lib/components/dynamic_views/adm_dynamic_views.component.mjs +4 -4
- package/esm2020/lib/components/enqueues/adm_enq.component.mjs +3 -3
- package/esm2020/lib/components/logs/adm_logs.component.mjs +2 -2
- package/esm2020/lib/components/metrics/metrics_search.component.mjs +4 -4
- package/esm2020/lib/components/profiler/adm_profiler.component.mjs +5 -5
- package/esm2020/lib/components/topact/topact_search.component.mjs +5 -5
- package/esm2020/lib/components/workers/adm_wrk.component.mjs +7 -7
- package/esm2020/lib/models/externals/Repository.mjs +22 -22
- package/fesm2015/esfaenza-admin-module.mjs +46 -46
- package/fesm2015/esfaenza-admin-module.mjs.map +1 -1
- package/fesm2020/esfaenza-admin-module.mjs +46 -46
- package/fesm2020/esfaenza-admin-module.mjs.map +1 -1
- package/lib/models/externals/Repository.d.ts +21 -21
- package/package.json +1 -1
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
export const Repository = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
2
|
+
GET_Director_ChangeProcessConsumerGroup: "/api/Director/ChangeProcessConsumerGroup",
|
|
3
|
+
GET_Director_ClearAllCaches: "/api/Director/ClearAllCaches",
|
|
4
|
+
GET_Director_GetConsumerGroups: "/api/Director/GetConsumerGroups#cache",
|
|
5
|
+
GET_Director_GetInfos: "/api/Director/GetInfos",
|
|
6
|
+
GET_Director_GetMetrics: "/api/Director/GetMetrics",
|
|
7
|
+
POST_Director_GetMetrics: "/api/Director/GetMetrics",
|
|
8
|
+
POST_Director_GetProfilerDataNodes: "/api/Director/GetProfilerDataNodes",
|
|
9
|
+
POST_Director_GetServerAudits: "/api/Director/GetServerAudits",
|
|
10
|
+
POST_Director_GetDynamicViewData: "/api/Director/GetDynamicViewData",
|
|
11
|
+
POST_Director_GetServerLocks: "/api/Director/GetServerLocks",
|
|
12
|
+
GET_Director_GetServerLogs: "/api/Director/GetServerLogs",
|
|
13
|
+
GET_Director_GetDynamicViews: "/api/Director/GetDynamicViews",
|
|
14
|
+
POST_Director_GetServerWorkers: "/api/Director/GetServerWorkers",
|
|
15
|
+
POST_Director_GetTopActivities: "/api/Director/GetTopActivities",
|
|
16
|
+
GET_Director_GetWorkerStatus: "/api/Director/GetWorkerStatus",
|
|
17
|
+
GET_Director_InvalidateServerSideCache: "/api/Director/InvalidateServerSideCache",
|
|
18
|
+
GET_Director_KillProcess: "/api/Director/KillProcess",
|
|
19
|
+
GET_Director_SetProcessTracing: "/api/Director/SetProcessTracing",
|
|
20
|
+
GET_Director_StartWorker: "/api/Director/StartWorker",
|
|
21
|
+
GET_Director_StopWorker: "/api/Director/StopWorker",
|
|
22
|
+
GET_Director_GetNodeStats: "/api/Director/GetNodeStats",
|
|
23
23
|
};
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUmVwb3NpdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FkbWluLW1vZHVsZS9zcmMvbGliL21vZGVscy9leHRlcm5hbHMvUmVwb3NpdG9yeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQUMsTUFBTSxVQUFVLEdBQUc7SUFDdEIsdUNBQXVDLEVBQUUsMENBQTBDO0lBQ25GLD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aWVzXCIsXHJcbiAgICBHRVRfRGlyZWN0b3JfR2V0V29ya2VyU3RhdHVzOiBcIi9hcGkvRGlyZWN0b3IvR2V0V29ya2VyU3RhdHVzXCIsXHJcbiAgICBHRVRfRGlyZWN0b3JfSW52YWxpZGF0ZVNlcnZlclNpZGVDYWNoZTogXCIvYXBpL0RpcmVjdG9yL0ludmFsaWRhdGVTZXJ2ZXJTaWRlQ2FjaGVcIixcclxuICAgIEdFVF9EaXJlY3Rvcl9LaWxsUHJvY2VzczogXCIvYXBpL0RpcmVjdG9yL0tpbGxQcm9jZXNzXCIsXHJcbiAgICBHRVRfRGlyZWN0b3JfU2V0UHJvY2Vzc1RyYWNpbmc6IFwiL2FwaS9EaXJlY3Rvci9TZXRQcm9jZXNzVHJhY2luZ1wiLFxyXG4gICAgR0VUX0RpcmVjdG9yX1N0YXJ0V29ya2VyOiBcIi9hcGkvRGlyZWN0b3IvU3RhcnRXb3JrZXJcIixcclxuICAgIEdFVF9EaXJlY3Rvcl9TdG9wV29ya2VyOiBcIi9hcGkvRGlyZWN0b3IvU3RvcFdvcmtlclwiLFxyXG4gICAgR0VUX0RpcmVjdG9yX0dldE5vZGVTdGF0czogXCIvYXBpL0RpcmVjdG9yL0dldE5vZGVTdGF0c1wiLFxyXG59Il19
|
|
@@ -43,27 +43,27 @@ class AuditsView extends AppSearch {
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
const Repository = {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
46
|
+
GET_Director_ChangeProcessConsumerGroup: "/api/Director/ChangeProcessConsumerGroup",
|
|
47
|
+
GET_Director_ClearAllCaches: "/api/Director/ClearAllCaches",
|
|
48
|
+
GET_Director_GetConsumerGroups: "/api/Director/GetConsumerGroups#cache",
|
|
49
|
+
GET_Director_GetInfos: "/api/Director/GetInfos",
|
|
50
|
+
GET_Director_GetMetrics: "/api/Director/GetMetrics",
|
|
51
|
+
POST_Director_GetMetrics: "/api/Director/GetMetrics",
|
|
52
|
+
POST_Director_GetProfilerDataNodes: "/api/Director/GetProfilerDataNodes",
|
|
53
|
+
POST_Director_GetServerAudits: "/api/Director/GetServerAudits",
|
|
54
|
+
POST_Director_GetDynamicViewData: "/api/Director/GetDynamicViewData",
|
|
55
|
+
POST_Director_GetServerLocks: "/api/Director/GetServerLocks",
|
|
56
|
+
GET_Director_GetServerLogs: "/api/Director/GetServerLogs",
|
|
57
|
+
GET_Director_GetDynamicViews: "/api/Director/GetDynamicViews",
|
|
58
|
+
POST_Director_GetServerWorkers: "/api/Director/GetServerWorkers",
|
|
59
|
+
POST_Director_GetTopActivities: "/api/Director/GetTopActivities",
|
|
60
|
+
GET_Director_GetWorkerStatus: "/api/Director/GetWorkerStatus",
|
|
61
|
+
GET_Director_InvalidateServerSideCache: "/api/Director/InvalidateServerSideCache",
|
|
62
|
+
GET_Director_KillProcess: "/api/Director/KillProcess",
|
|
63
|
+
GET_Director_SetProcessTracing: "/api/Director/SetProcessTracing",
|
|
64
|
+
GET_Director_StartWorker: "/api/Director/StartWorker",
|
|
65
|
+
GET_Director_StopWorker: "/api/Director/StopWorker",
|
|
66
|
+
GET_Director_GetNodeStats: "/api/Director/GetNodeStats",
|
|
67
67
|
};
|
|
68
68
|
|
|
69
69
|
const ADM_MODULE_PATH = new InjectionToken('ADM_MODULE_PATH');
|
|
@@ -151,7 +151,7 @@ class AdmAuditsComponent {
|
|
|
151
151
|
//Altirmenti genero il modello nuovo normalmente
|
|
152
152
|
if (HotPotato) {
|
|
153
153
|
this.searchView = HotPotato;
|
|
154
|
-
this.POSTGetProcesses(Repository["
|
|
154
|
+
this.POSTGetProcesses(Repository["POST_Director_GetServerAudits"], this.searchView);
|
|
155
155
|
}
|
|
156
156
|
else {
|
|
157
157
|
this.searchView = new AuditsView();
|
|
@@ -164,7 +164,7 @@ class AdmAuditsComponent {
|
|
|
164
164
|
this.searchInProgress = true;
|
|
165
165
|
if (resetPage)
|
|
166
166
|
this.searchView.page = 1;
|
|
167
|
-
this.POSTGetProcesses(Repository["
|
|
167
|
+
this.POSTGetProcesses(Repository["POST_Director_GetServerAudits"], this.searchView);
|
|
168
168
|
}
|
|
169
169
|
POSTGetProcesses(url, data) {
|
|
170
170
|
this.http.post(url, data).subscribe(t => {
|
|
@@ -296,7 +296,7 @@ class AdmWrkComponent {
|
|
|
296
296
|
init(HotPotato) {
|
|
297
297
|
if (HotPotato) {
|
|
298
298
|
this.searchView = HotPotato;
|
|
299
|
-
this.POSTGetProcesses(Repository["
|
|
299
|
+
this.POSTGetProcesses(Repository["POST_Director_GetServerWorkers"], this.searchView);
|
|
300
300
|
}
|
|
301
301
|
else {
|
|
302
302
|
this.searchView = new ProcessesView();
|
|
@@ -307,7 +307,7 @@ class AdmWrkComponent {
|
|
|
307
307
|
this.searchView.searchinprogress = true;
|
|
308
308
|
if (resetPage)
|
|
309
309
|
this.searchView.page = 1;
|
|
310
|
-
this.POSTGetProcesses(Repository["
|
|
310
|
+
this.POSTGetProcesses(Repository["POST_Director_GetServerWorkers"], this.searchView);
|
|
311
311
|
}
|
|
312
312
|
POSTGetProcesses(url, data) {
|
|
313
313
|
this.http.post(url, data).subscribe(t => {
|
|
@@ -341,7 +341,7 @@ class AdmWrkComponent {
|
|
|
341
341
|
.set("sid", process.properties["sid"] || process.properties["SID"])
|
|
342
342
|
.set("serial", process.properties["serial"] || process.properties["SERIAL"])
|
|
343
343
|
.set("enable", tracing.toString());
|
|
344
|
-
this.http.get(Repository["
|
|
344
|
+
this.http.get(Repository["GET_Director_SetProcessTracing"], pars).subscribe(t => {
|
|
345
345
|
this.msgExts.manageStringResponse(t, "", this.lc.loc("Errori nella modifica del Tracing del Processo"), () => this.sendSearch());
|
|
346
346
|
});
|
|
347
347
|
}
|
|
@@ -351,7 +351,7 @@ class AdmWrkComponent {
|
|
|
351
351
|
.set("instanceid", process.properties["inst_id"] || process.properties["INST_ID"])
|
|
352
352
|
.set("sid", process.properties["sid"] || process.properties["SID"])
|
|
353
353
|
.set("serial", process.properties["serial"] || process.properties["SERIAL"]);
|
|
354
|
-
this.http.get(Repository["
|
|
354
|
+
this.http.get(Repository["GET_Director_KillProcess"], pars).subscribe(t => {
|
|
355
355
|
this.msgExts.manageStringResponse(t, this.lc.loc("Processo ucciso con successo"), this.lc.loc("Errori durante la Kill del Processo"), () => this.sendSearch());
|
|
356
356
|
});
|
|
357
357
|
});
|
|
@@ -366,7 +366,7 @@ class AdmWrkComponent {
|
|
|
366
366
|
this.dlgChangeCg.show();
|
|
367
367
|
}
|
|
368
368
|
loadCgDictionaries() {
|
|
369
|
-
this.http.get(Repository["
|
|
369
|
+
this.http.get(Repository["GET_Director_GetConsumerGroups"]).subscribe(t => this.CGs = t);
|
|
370
370
|
}
|
|
371
371
|
setupChangeCg() {
|
|
372
372
|
this.utiExts.cleanForm(this.cgFrom);
|
|
@@ -378,7 +378,7 @@ class AdmWrkComponent {
|
|
|
378
378
|
.set("sid", this.ProcessOnEdit.properties["sid"] || this.ProcessOnEdit.properties["SID"])
|
|
379
379
|
.set("serial", this.ProcessOnEdit.properties["serial"] || this.ProcessOnEdit.properties["SERIAL"])
|
|
380
380
|
.set("consumer_group", this.newCg);
|
|
381
|
-
this.http.get(Repository["
|
|
381
|
+
this.http.get(Repository["GET_Director_ChangeProcessConsumerGroup"], pars).subscribe(t => {
|
|
382
382
|
this.msgExts.manageStringResponse(t, this.lc.loc("Gruppo di Consumo modificato con successo"), this.lc.loc("Errori nella modifica del Gruppo di Consumo"), () => this.sendSearch());
|
|
383
383
|
});
|
|
384
384
|
return true;
|
|
@@ -643,7 +643,7 @@ class AdmProfilerComponent {
|
|
|
643
643
|
init(HotPotato) {
|
|
644
644
|
if (HotPotato) {
|
|
645
645
|
this.searchView = HotPotato;
|
|
646
|
-
this.POSTGetItems(Repository["
|
|
646
|
+
this.POSTGetItems(Repository["POST_Director_GetProfilerDataNodes"], this.searchView);
|
|
647
647
|
}
|
|
648
648
|
else {
|
|
649
649
|
this.searchView = new ProfilerDataNodesView();
|
|
@@ -658,7 +658,7 @@ class AdmProfilerComponent {
|
|
|
658
658
|
this.searchView.searchinprogress = true;
|
|
659
659
|
if (resetPage)
|
|
660
660
|
this.searchView.page = 1;
|
|
661
|
-
this.POSTGetItems(Repository["
|
|
661
|
+
this.POSTGetItems(Repository["POST_Director_GetProfilerDataNodes"], this.searchView);
|
|
662
662
|
}
|
|
663
663
|
POSTGetItems(url, data) {
|
|
664
664
|
this.http.post(url, data).subscribe(t => {
|
|
@@ -671,7 +671,7 @@ class AdmProfilerComponent {
|
|
|
671
671
|
var view = JSON.parse(JSON.stringify(this.searchView));
|
|
672
672
|
view.page = 1;
|
|
673
673
|
view.itemsperpageoverride = 9999999;
|
|
674
|
-
this.http.post(Repository["
|
|
674
|
+
this.http.post(Repository["POST_Director_GetProfilerDataNodes"], view).subscribe(t => {
|
|
675
675
|
let items = this.expExts.deserializeForExport(t.items, ProfilerDataNode);
|
|
676
676
|
dataCallBack(items);
|
|
677
677
|
});
|
|
@@ -679,7 +679,7 @@ class AdmProfilerComponent {
|
|
|
679
679
|
loadNodeDetails(nodeId) {
|
|
680
680
|
this.NodeDetails = null;
|
|
681
681
|
let pars = new HttpParams().set('nodeId', nodeId);
|
|
682
|
-
this.http.get(Repository.
|
|
682
|
+
this.http.get(Repository.GET_Director_GetNodeStats, pars).subscribe(t => {
|
|
683
683
|
this.NodeDetails = t;
|
|
684
684
|
});
|
|
685
685
|
}
|
|
@@ -780,7 +780,7 @@ class AdmTopActivitiesComponent {
|
|
|
780
780
|
init(HotPotato) {
|
|
781
781
|
if (HotPotato) {
|
|
782
782
|
this.searchView = HotPotato;
|
|
783
|
-
this.POSTGetItems(Repository.
|
|
783
|
+
this.POSTGetItems(Repository.POST_Director_GetTopActivities, this.searchView, false);
|
|
784
784
|
}
|
|
785
785
|
else {
|
|
786
786
|
this.searchView = new TopActivitiesDataView();
|
|
@@ -795,7 +795,7 @@ class AdmTopActivitiesComponent {
|
|
|
795
795
|
this.searchView.searchinprogress = true;
|
|
796
796
|
if (resetPage)
|
|
797
797
|
this.searchView.page = 1;
|
|
798
|
-
this.POSTGetItems(Repository.
|
|
798
|
+
this.POSTGetItems(Repository.POST_Director_GetTopActivities, searchViewOverride !== null && searchViewOverride !== void 0 ? searchViewOverride : this.searchView, update);
|
|
799
799
|
}
|
|
800
800
|
POSTGetItems(url, data, update) {
|
|
801
801
|
this.http.post(url, data).subscribe((t) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -810,12 +810,12 @@ class AdmTopActivitiesComponent {
|
|
|
810
810
|
}));
|
|
811
811
|
}
|
|
812
812
|
getDirectorInfos() {
|
|
813
|
-
return this.http.get(Repository.
|
|
813
|
+
return this.http.get(Repository.GET_Director_GetInfos).pipe(map(res => { return res; })).toPromise();
|
|
814
814
|
}
|
|
815
815
|
loadNodeDetails(nodeId) {
|
|
816
816
|
this.NodeDetails = null;
|
|
817
817
|
let pars = new HttpParams().set('nodeId', nodeId);
|
|
818
|
-
this.http.get(Repository.
|
|
818
|
+
this.http.get(Repository.GET_Director_GetNodeStats, pars).subscribe(t => {
|
|
819
819
|
this.NodeDetails = t;
|
|
820
820
|
});
|
|
821
821
|
}
|
|
@@ -960,7 +960,7 @@ class AdmEnqComponent {
|
|
|
960
960
|
init(HotPotato) {
|
|
961
961
|
if (HotPotato) {
|
|
962
962
|
this.locksView = HotPotato;
|
|
963
|
-
this.POSTGetProcesses(Repository["
|
|
963
|
+
this.POSTGetProcesses(Repository["POST_Director_GetServerLocks"], this.locksView);
|
|
964
964
|
}
|
|
965
965
|
else {
|
|
966
966
|
this.locksView = new LocksView();
|
|
@@ -970,7 +970,7 @@ class AdmEnqComponent {
|
|
|
970
970
|
sendSearch(resetPage = true) {
|
|
971
971
|
if (resetPage)
|
|
972
972
|
this.locksView.page = 1;
|
|
973
|
-
this.POSTGetProcesses(Repository["
|
|
973
|
+
this.POSTGetProcesses(Repository["POST_Director_GetServerLocks"], this.locksView);
|
|
974
974
|
}
|
|
975
975
|
POSTGetProcesses(url, data) {
|
|
976
976
|
this.http.post(url, data).subscribe(t => {
|
|
@@ -1051,7 +1051,7 @@ class AdmMetricsComponent {
|
|
|
1051
1051
|
this.selectedInstance = "";
|
|
1052
1052
|
this.searchView.filtermetrics = [];
|
|
1053
1053
|
var pars = new HttpParams().set("from", this.searchView.filterfrom || "").set("to", this.searchView.filterto || "");
|
|
1054
|
-
this.http.get(Repository["
|
|
1054
|
+
this.http.get(Repository["GET_Director_GetMetrics"], pars).subscribe(t => this.Metrics = t);
|
|
1055
1055
|
}
|
|
1056
1056
|
doInit(ignoreStorage) {
|
|
1057
1057
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1070,7 +1070,7 @@ class AdmMetricsComponent {
|
|
|
1070
1070
|
init(HotPotato) {
|
|
1071
1071
|
if (HotPotato) {
|
|
1072
1072
|
this.searchView = HotPotato;
|
|
1073
|
-
this.POSTGetItems(Repository["
|
|
1073
|
+
this.POSTGetItems(Repository["POST_Director_GetMetrics"], this.searchView, false);
|
|
1074
1074
|
}
|
|
1075
1075
|
else {
|
|
1076
1076
|
this.searchView = new MetricsView();
|
|
@@ -1090,7 +1090,7 @@ class AdmMetricsComponent {
|
|
|
1090
1090
|
this.searchView.itemsperpageoverride = 999999;
|
|
1091
1091
|
if (resetPage)
|
|
1092
1092
|
this.searchView.page = 1;
|
|
1093
|
-
this.POSTGetItems(Repository["
|
|
1093
|
+
this.POSTGetItems(Repository["POST_Director_GetMetrics"], searchViewOverride !== null && searchViewOverride !== void 0 ? searchViewOverride : this.searchView, update);
|
|
1094
1094
|
}
|
|
1095
1095
|
POSTGetItems(url, data, update) {
|
|
1096
1096
|
data.filterrealtime = update ? data.filterrealtime : !(!!data.filterfrom || !!data.filterto);
|
|
@@ -1190,7 +1190,7 @@ class AdmLogsComponent {
|
|
|
1190
1190
|
this.intercom.send(InboundMessageTypes.Navigation, { sub: false, routeTitle: this.lc.loc(this.route.snapshot.data["title"]) });
|
|
1191
1191
|
}
|
|
1192
1192
|
ngOnInit() {
|
|
1193
|
-
this.http.get(Repository["
|
|
1193
|
+
this.http.get(Repository["GET_Director_GetServerLogs"]).subscribe(t => { this.Log = t; });
|
|
1194
1194
|
}
|
|
1195
1195
|
}
|
|
1196
1196
|
AdmLogsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AdmLogsComponent, deps: [{ token: i1.InterComService }, { token: i4.HTTPService }, { token: i2.LocalizationService }, { token: i5.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -1238,7 +1238,7 @@ class AdmDynamicViewsComponent {
|
|
|
1238
1238
|
this.intercom.send(InboundMessageTypes.Navigation, { sub: false, routeTitle: this.lc.loc(this.route.snapshot.data["title"]) });
|
|
1239
1239
|
}
|
|
1240
1240
|
ngOnInit() {
|
|
1241
|
-
this.http.get(Repository.
|
|
1241
|
+
this.http.get(Repository.GET_Director_GetDynamicViews).subscribe(t => { this.Names = t; });
|
|
1242
1242
|
this.storageSub = this.route.queryParams.subscribe(params => { this.Init(params["ignoreStorage"]); });
|
|
1243
1243
|
}
|
|
1244
1244
|
ngOnDestroy() {
|
|
@@ -1264,7 +1264,7 @@ class AdmDynamicViewsComponent {
|
|
|
1264
1264
|
//Altirmenti genero il modello nuovo normalmente
|
|
1265
1265
|
if (HotPotato) {
|
|
1266
1266
|
this.searchView = HotPotato;
|
|
1267
|
-
this.POSTGetItems(Repository.
|
|
1267
|
+
this.POSTGetItems(Repository.POST_Director_GetDynamicViewData, this.searchView);
|
|
1268
1268
|
}
|
|
1269
1269
|
else {
|
|
1270
1270
|
this.searchView = new DynamicViewsView();
|
|
@@ -1276,7 +1276,7 @@ class AdmDynamicViewsComponent {
|
|
|
1276
1276
|
if (resetPage)
|
|
1277
1277
|
this.searchView.page = 1;
|
|
1278
1278
|
this.searchView.filtername = this.filterName;
|
|
1279
|
-
this.POSTGetItems(Repository.
|
|
1279
|
+
this.POSTGetItems(Repository.POST_Director_GetDynamicViewData, this.searchView);
|
|
1280
1280
|
}
|
|
1281
1281
|
POSTGetItems(url, data) {
|
|
1282
1282
|
if (!this.searchView.filtername) {
|