mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
Fixed problem after rebase
This commit is contained in:
parent
15e1a33be1
commit
74c205ec11
@ -48,7 +48,7 @@ describe('ActivitiFilters', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
let activitiService = new ActivitiTaskListService(null);
|
let activitiService = new ActivitiTaskListService(null, null);
|
||||||
filterList = new ActivitiFilters(null, null, activitiService);
|
filterList = new ActivitiFilters(null, null, activitiService);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -195,7 +195,7 @@ export class ActivitiTaskListService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private callApiTaskComments(id: string) {
|
private callApiTaskComments(id: string) {
|
||||||
let url = `${this.basePath}/api/enterprise/tasks/${id}/comments`;
|
let url = this.alfrescoSettingsService.getBPMApiBaseUrl() + `/api/enterprise/tasks/${id}/comments`;
|
||||||
let headers = new Headers({
|
let headers = new Headers({
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
'Cache-Control': 'no-cache'
|
'Cache-Control': 'no-cache'
|
||||||
@ -207,7 +207,7 @@ export class ActivitiTaskListService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private callApiAddTaskComment(id: string, message: string) {
|
private callApiAddTaskComment(id: string, message: string) {
|
||||||
let url = `${this.basePath}/api/enterprise/tasks/${id}/comments`;
|
let url = this.alfrescoSettingsService.getBPMApiBaseUrl() + `/api/enterprise/tasks/${id}/comments`;
|
||||||
let headers = new Headers({
|
let headers = new Headers({
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
'Cache-Control': 'no-cache'
|
'Cache-Control': 'no-cache'
|
||||||
@ -220,7 +220,7 @@ export class ActivitiTaskListService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private callApiAddTask(task: TaskDetailsModel) {
|
private callApiAddTask(task: TaskDetailsModel) {
|
||||||
let url = `${this.basePath}/api/enterprise/tasks/${task.parentTaskId}/checklist`;
|
let url = this.alfrescoSettingsService.getBPMApiBaseUrl() + `/api/enterprise/tasks/${task.parentTaskId}/checklist`;
|
||||||
let headers = new Headers({
|
let headers = new Headers({
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
'Cache-Control': 'no-cache'
|
'Cache-Control': 'no-cache'
|
||||||
@ -233,7 +233,7 @@ export class ActivitiTaskListService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private callApiTaskChecklist(id: string) {
|
private callApiTaskChecklist(id: string) {
|
||||||
let url = `${this.basePath}/api/enterprise/tasks/${id}/checklist`;
|
let url = this.alfrescoSettingsService.getBPMApiBaseUrl() + `/api/enterprise/tasks/${id}/checklist`;
|
||||||
let headers = new Headers({
|
let headers = new Headers({
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
'Cache-Control': 'no-cache'
|
'Cache-Control': 'no-cache'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user