Revision 50883
Added by Myrto Koukouli about 6 years ago
adminPg-metrics.component.ts | ||
---|---|---|
32 | 32 |
} |
33 | 33 |
|
34 | 34 |
|
35 |
getPiwiks(){ |
|
35 |
getPiwiks() {
|
|
36 | 36 |
this.loadingMessage = loadingReposMessage; |
37 | 37 |
this.piwikService.getPiwikSitesForRepos() |
38 | 38 |
.subscribe( |
... | ... | |
58 | 58 |
|
59 | 59 |
/*NOT SURE IF THESE PARAMETERS ARE THE CORRECT ONES*/ |
60 | 60 |
confirmApproval(repoId: string) { |
61 |
this.confirmApprovalModal.ids.push(repoId);
|
|
61 |
this.confirmApprovalModal.ids = [repoId];
|
|
62 | 62 |
this.confirmApprovalModal.showModal(); |
63 | 63 |
} |
64 | 64 |
|
... | ... | |
81 | 81 |
() => { |
82 | 82 |
this.loadingMessage = ''; |
83 | 83 |
this.errorMessage = ''; |
84 |
this.getPiwiks(); |
|
84 | 85 |
} |
85 | 86 |
); |
86 | 87 |
} |
Also available in: Unified diff
finished subscriptions and notifications