diff options
author | Chocobozzz <me@florianbigard.com> | 2021-09-08 10:10:51 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-09-08 10:16:39 +0200 |
commit | 0ea2f79d45b301fcd660efc894469a99b2239bf6 (patch) | |
tree | f100945f86cdcac37cf953b5af0c8fd1a3c8daad /client/src/app/shared/shared-actor-image | |
parent | 4546d92e40a253047d9648c0749578429dce1c3f (diff) | |
download | PeerTube-0ea2f79d45b301fcd660efc894469a99b2239bf6.tar.gz PeerTube-0ea2f79d45b301fcd660efc894469a99b2239bf6.tar.zst PeerTube-0ea2f79d45b301fcd660efc894469a99b2239bf6.zip |
Safer image preview
Diffstat (limited to 'client/src/app/shared/shared-actor-image')
-rw-r--r-- | client/src/app/shared/shared-actor-image/actor-avatar.component.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-actor-image/actor-avatar.component.ts b/client/src/app/shared/shared-actor-image/actor-avatar.component.ts index a4adfd1b7..c323dc724 100644 --- a/client/src/app/shared/shared-actor-image/actor-avatar.component.ts +++ b/client/src/app/shared/shared-actor-image/actor-avatar.component.ts | |||
@@ -1,5 +1,4 @@ | |||
1 | import { Component, Input } from '@angular/core' | 1 | import { Component, Input } from '@angular/core' |
2 | import { SafeResourceUrl } from '@angular/platform-browser' | ||
3 | import { VideoChannel } from '../shared-main' | 2 | import { VideoChannel } from '../shared-main' |
4 | import { Account } from '../shared-main/account/account.model' | 3 | import { Account } from '../shared-main/account/account.model' |
5 | 4 | ||
@@ -22,7 +21,7 @@ export class ActorAvatarComponent { | |||
22 | @Input() account: ActorInput | 21 | @Input() account: ActorInput |
23 | @Input() channel: ActorInput | 22 | @Input() channel: ActorInput |
24 | 23 | ||
25 | @Input() previewImage: SafeResourceUrl | 24 | @Input() previewImage: string |
26 | 25 | ||
27 | @Input() size: ActorAvatarSize | 26 | @Input() size: ActorAvatarSize |
28 | 27 | ||