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/videos/video-add | |
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/videos/video-add')
-rw-r--r-- | client/src/app/videos/video-add/video-add.component.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/videos/video-add/video-add.component.ts b/client/src/app/videos/video-add/video-add.component.ts index 16a8409be..d12a7d572 100644 --- a/client/src/app/videos/video-add/video-add.component.ts +++ b/client/src/app/videos/video-add/video-add.component.ts | |||
@@ -8,8 +8,8 @@ import { AuthService, FormReactive, VIDEO_NAME, VIDEO_DESCRIPTION, VIDEO_TAGS } | |||
8 | 8 | ||
9 | @Component({ | 9 | @Component({ |
10 | selector: 'my-videos-add', | 10 | selector: 'my-videos-add', |
11 | styles: [ require('./video-add.component.scss') ], | 11 | styleUrls: [ './video-add.component.scss' ], |
12 | template: require('./video-add.component.html') | 12 | templateUrl: './video-add.component.html' |
13 | }) | 13 | }) |
14 | 14 | ||
15 | export class VideoAddComponent extends FormReactive implements OnInit { | 15 | export class VideoAddComponent extends FormReactive implements OnInit { |