diff --git a/projects/experimental/components/avatar/avatar.component.ts b/projects/experimental/components/avatar/avatar.component.ts index 2d1f692894d2..fb423aabe37e 100644 --- a/projects/experimental/components/avatar/avatar.component.ts +++ b/projects/experimental/components/avatar/avatar.component.ts @@ -15,7 +15,7 @@ import {TUI_AVATAR_OPTIONS, TuiAvatarOptions} from './avatar.options'; '[attr.data-appearance]': 'appearance', '[attr.data-size]': 'size', '[attr.data-type]': 'type', - '[style.--t-mask]': '"url(" + resolver(src) + ")"', + '[style.--t-mask]': '"url(" + resolver(src.toString()) + ")"', '[class._round]': 'round', }, })