mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-4738] [Process -Cloud] Move GroupCloudService to adf-core (#4928)
* [ADF-4738] [Process -Cloud] Move GroupCloudService to adf-core lib. * * Changed GroupModel to IdentityGroupModel * Updated unit tests the recent changes. * * Added documentation to the identityGroupService * Updated GroupInitial and GroupCoudcomponent doc. * * Created groupCount model. * Updated unit test to the recent changes * * After rebase updated doc * * Fixed comments.
This commit is contained in:
committed by
Eugenio Romano
parent
4ead51d2a6
commit
eb2811fdd0
@@ -16,7 +16,7 @@
|
||||
*/
|
||||
|
||||
import { Pipe, PipeTransform } from '@angular/core';
|
||||
import { GroupModel } from '../models/group.model';
|
||||
import { IdentityGroupModel } from '@alfresco/adf-core';
|
||||
|
||||
@Pipe({
|
||||
name: 'groupNameInitial'
|
||||
@@ -25,7 +25,7 @@ export class InitialGroupNamePipe implements PipeTransform {
|
||||
|
||||
constructor() {}
|
||||
|
||||
transform(group: GroupModel): string {
|
||||
transform(group: IdentityGroupModel): string {
|
||||
let result = '';
|
||||
if (group) {
|
||||
result = this.getInitialGroupName(group.name).toUpperCase();
|
||||
|
Reference in New Issue
Block a user