Skip to content

Commit

Permalink
* fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
dhrn committed Jul 21, 2020
1 parent 4ca641f commit 0d57b46
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/core/pipes/user-initial.pipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@
* limitations under the License.
*/

import { Group } from '@alfresco/js-api';
import { Pipe, PipeTransform } from '@angular/core';
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
import { UserProcessModel } from '../models/user-process.model';
import { EcmUserModel } from '../models/ecm-user.model';
import { IdentityUserModel } from '../models/identity-user.model';

export type User = Group & UserProcessModel & EcmUserModel & IdentityUserModel;
export type User = (EcmUserModel | UserProcessModel | IdentityUserModel) & { displayName?: string };

@Pipe({
name: 'usernameInitials'
Expand Down

0 comments on commit 0d57b46

Please sign in to comment.