mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Optimise imports using inject function (#8557)
* optimise AuthGuard * optimise UploadBase * optimise BaseAuthenticationService * optimise FormComponent * optimise BaseCloudService * optimise card view
This commit is contained in:
@@ -17,20 +17,11 @@
|
||||
|
||||
import { Injectable } from '@angular/core';
|
||||
import { PreferenceCloudServiceInterface } from './preference-cloud.interface';
|
||||
import { AlfrescoApiService, AppConfigService, LogService } from '@alfresco/adf-core';
|
||||
import { throwError, Observable } from 'rxjs';
|
||||
import { BaseCloudService } from './base-cloud.service';
|
||||
|
||||
@Injectable({ providedIn: 'root' })
|
||||
export class UserPreferenceCloudService extends BaseCloudService implements PreferenceCloudServiceInterface {
|
||||
|
||||
constructor(
|
||||
apiService: AlfrescoApiService,
|
||||
appConfigService: AppConfigService,
|
||||
private logService: LogService) {
|
||||
super(apiService, appConfigService);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets user preferences
|
||||
*
|
||||
|
Reference in New Issue
Block a user