aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-main/account
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-11-25 11:44:31 +0100
committerChocobozzz <me@florianbigard.com>2020-11-25 11:44:31 +0100
commit69524f6ed170c74fab8d5833920c389fde992f3e (patch)
tree70f21690f6de8e8bb11efb43249d2267d0844165 /client/src/app/shared/shared-main/account
parentc418d483004dfbae9ea38d54aa1577db46d34a8a (diff)
downloadPeerTube-69524f6ed170c74fab8d5833920c389fde992f3e.tar.gz
PeerTube-69524f6ed170c74fab8d5833920c389fde992f3e.tar.zst
PeerTube-69524f6ed170c74fab8d5833920c389fde992f3e.zip
Fix circular dep issue
Diffstat (limited to 'client/src/app/shared/shared-main/account')
-rw-r--r--client/src/app/shared/shared-main/account/index.ts2
-rw-r--r--client/src/app/shared/shared-main/account/video-avatar-channel.component.html (renamed from client/src/app/shared/shared-main/account/avatar.component.html)0
-rw-r--r--client/src/app/shared/shared-main/account/video-avatar-channel.component.scss (renamed from client/src/app/shared/shared-main/account/avatar.component.scss)0
-rw-r--r--client/src/app/shared/shared-main/account/video-avatar-channel.component.ts (renamed from client/src/app/shared/shared-main/account/avatar.component.ts)10
4 files changed, 7 insertions, 5 deletions
diff --git a/client/src/app/shared/shared-main/account/index.ts b/client/src/app/shared/shared-main/account/index.ts
index f5b9f3634..61c800e56 100644
--- a/client/src/app/shared/shared-main/account/index.ts
+++ b/client/src/app/shared/shared-main/account/index.ts
@@ -2,4 +2,4 @@ export * from './account.model'
2export * from './account.service' 2export * from './account.service'
3export * from './actor-avatar-info.component' 3export * from './actor-avatar-info.component'
4export * from './actor.model' 4export * from './actor.model'
5export * from './avatar.component' 5export * from './video-avatar-channel.component'
diff --git a/client/src/app/shared/shared-main/account/avatar.component.html b/client/src/app/shared/shared-main/account/video-avatar-channel.component.html
index 310cc926f..310cc926f 100644
--- a/client/src/app/shared/shared-main/account/avatar.component.html
+++ b/client/src/app/shared/shared-main/account/video-avatar-channel.component.html
diff --git a/client/src/app/shared/shared-main/account/avatar.component.scss b/client/src/app/shared/shared-main/account/video-avatar-channel.component.scss
index 37709fce6..37709fce6 100644
--- a/client/src/app/shared/shared-main/account/avatar.component.scss
+++ b/client/src/app/shared/shared-main/account/video-avatar-channel.component.scss
diff --git a/client/src/app/shared/shared-main/account/avatar.component.ts b/client/src/app/shared/shared-main/account/video-avatar-channel.component.ts
index 2967828a0..440e2b522 100644
--- a/client/src/app/shared/shared-main/account/avatar.component.ts
+++ b/client/src/app/shared/shared-main/account/video-avatar-channel.component.ts
@@ -2,12 +2,14 @@ import { Component, Input, OnInit } from '@angular/core'
2import { Video } from '../video/video.model' 2import { Video } from '../video/video.model'
3 3
4@Component({ 4@Component({
5 selector: 'avatar-channel', 5 selector: 'my-video-avatar-channel',
6 templateUrl: './avatar.component.html', 6 templateUrl: './video-avatar-channel.component.html',
7 styleUrls: [ './avatar.component.scss' ] 7 styleUrls: [ './video-avatar-channel.component.scss' ]
8}) 8})
9export class AvatarComponent implements OnInit { 9export class VideoAvatarChannelComponent implements OnInit {
10 @Input() video: Video 10 @Input() video: Video
11 @Input() byAccount: string
12
11 @Input() size: 'md' | 'sm' = 'md' 13 @Input() size: 'md' | 'sm' = 'md'
12 @Input() genericChannel: boolean 14 @Input() genericChannel: boolean
13 15