Skip to content

Commit 1c9b569

Browse files
author
Claudiu Constantin
committed
Fix for templateUrl issue introduced in PR#1
1 parent 327ef5b commit 1c9b569

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/app/cron-editor/cron-editor.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import { Days, MonthWeeks, Months } from "./enums";
55

66
@Component({
77
selector: "cron-editor",
8-
templateUrl: "./cron-editor.template.html",
9-
styleUrls: ["./cron-editor.component.css"]
8+
template: require("./cron-editor.template.html"),
9+
styles: [require("./cron-editor.component.css").toString()]
1010
})
1111
export class CronGenComponent implements OnInit, OnChanges {
1212
@Input() public disabled: boolean;

src/app/cron-editor/cron-time-picker.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
@Component({
44
selector: "cron-time-picker",
5-
templateUrl: "./cron-time-picker.template.html"
5+
template: require("./cron-time-picker.template.html")
66
})
77
export class TimePickerComponent implements OnInit {
88
@Output() public onChange = new EventEmitter();

0 commit comments

Comments
 (0)