diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-09-19 22:49:31 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-09-19 22:49:31 +0200 |
commit | ec8d8440a893ba64075da2e57ea04c7976e0b303 (patch) | |
tree | a8fed5e1e6e06317533ebf021c1244c057e670c2 /client/src/app/admin/friends | |
parent | ad22074a780b4bdbe3cd9e903b3fa5ef83eaef14 (diff) | |
download | PeerTube-ec8d8440a893ba64075da2e57ea04c7976e0b303.tar.gz PeerTube-ec8d8440a893ba64075da2e57ea04c7976e0b303.tar.zst PeerTube-ec8d8440a893ba64075da2e57ea04c7976e0b303.zip |
Client: use templateUrl/styleUrls instead of require
Diffstat (limited to 'client/src/app/admin/friends')
-rw-r--r-- | client/src/app/admin/friends/friend-add/friend-add.component.ts | 4 | ||||
-rw-r--r-- | client/src/app/admin/friends/friend-list/friend-list.component.ts | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/admin/friends/friend-add/friend-add.component.ts b/client/src/app/admin/friends/friend-add/friend-add.component.ts index 68363b482..7aab82b97 100644 --- a/client/src/app/admin/friends/friend-add/friend-add.component.ts +++ b/client/src/app/admin/friends/friend-add/friend-add.component.ts | |||
@@ -7,8 +7,8 @@ import { FriendService } from '../shared'; | |||
7 | 7 | ||
8 | @Component({ | 8 | @Component({ |
9 | selector: 'my-friend-add', | 9 | selector: 'my-friend-add', |
10 | template: require('./friend-add.component.html'), | 10 | templateUrl: './friend-add.component.html', |
11 | styles: [ require('./friend-add.component.scss') ] | 11 | styleUrls: [ './friend-add.component.scss' ] |
12 | }) | 12 | }) |
13 | export class FriendAddComponent implements OnInit { | 13 | export class FriendAddComponent implements OnInit { |
14 | form: FormGroup; | 14 | form: FormGroup; |
diff --git a/client/src/app/admin/friends/friend-list/friend-list.component.ts b/client/src/app/admin/friends/friend-list/friend-list.component.ts index c76fc4df2..afbb48c1c 100644 --- a/client/src/app/admin/friends/friend-list/friend-list.component.ts +++ b/client/src/app/admin/friends/friend-list/friend-list.component.ts | |||
@@ -4,8 +4,8 @@ import { Friend, FriendService } from '../shared'; | |||
4 | 4 | ||
5 | @Component({ | 5 | @Component({ |
6 | selector: 'my-friend-list', | 6 | selector: 'my-friend-list', |
7 | template: require('./friend-list.component.html'), | 7 | templateUrl: './friend-list.component.html', |
8 | styles: [ require('./friend-list.component.scss') ] | 8 | styleUrls: [ './friend-list.component.scss' ] |
9 | }) | 9 | }) |
10 | export class FriendListComponent implements OnInit { | 10 | export class FriendListComponent implements OnInit { |
11 | friends: Friend[]; | 11 | friends: Friend[]; |