mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
#1370 Remove use of AlfrescoSettingsService
This commit is contained in:
@@ -28,7 +28,7 @@ import {
|
||||
ActivitiStartProcessInstance,
|
||||
ProcessInstance
|
||||
} from 'ng2-activiti-processlist';
|
||||
import { AlfrescoAuthenticationService, AlfrescoSettingsService, StorageService } from 'ng2-alfresco-core';
|
||||
import { AlfrescoAuthenticationService, SettingsService, StorageService } from 'ng2-alfresco-core';
|
||||
import { ObjectDataTableAdapter } from 'ng2-alfresco-datatable';
|
||||
|
||||
const currentProcessIdNew = '__NEW__';
|
||||
@@ -161,7 +161,7 @@ class MyDemoApp implements OnInit {
|
||||
dataProcesses: ObjectDataTableAdapter;
|
||||
|
||||
constructor(private authService: AlfrescoAuthenticationService,
|
||||
private settingsService: AlfrescoSettingsService,
|
||||
private settingsService: SettingsService,
|
||||
private storage: StorageService) {
|
||||
settingsService.bpmHost = this.host;
|
||||
settingsService.setProviders('BPM');
|
||||
|
@@ -22,7 +22,7 @@ import {
|
||||
AlfrescoTranslationService,
|
||||
CoreModule,
|
||||
AlfrescoAuthenticationService,
|
||||
AlfrescoSettingsService,
|
||||
SettingsService,
|
||||
AlfrescoApiService } from 'ng2-alfresco-core';
|
||||
|
||||
import { ActivitiProcessInstanceHeader } from './activiti-process-instance-header.component';
|
||||
@@ -48,7 +48,7 @@ describe('ActivitiProcessInstanceHeader', () => {
|
||||
ActivitiProcessComments
|
||||
],
|
||||
providers: [
|
||||
AlfrescoSettingsService,
|
||||
SettingsService,
|
||||
AlfrescoAuthenticationService,
|
||||
AlfrescoApiService,
|
||||
ActivitiProcessService,
|
||||
|
Reference in New Issue
Block a user