aboutsummaryrefslogtreecommitdiffstats
path: root/src/angular/checklist/checklist.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/angular/checklist/checklist.component.ts')
-rw-r--r--src/angular/checklist/checklist.component.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/angular/checklist/checklist.component.ts b/src/angular/checklist/checklist.component.ts
index 386cd3e..b512378 100644
--- a/src/angular/checklist/checklist.component.ts
+++ b/src/angular/checklist/checklist.component.ts
@@ -1,7 +1,7 @@
import { Component, EventEmitter, Input, Output } from "@angular/core";
import { ChecklistModel } from "./models/Checklist";
import { ChecklistItemModel } from "./models/ChecklistItem";
-import template from "./checklist.component.html";
+import { template } from "./checklist.component.html";
@Component({
selector: 'sdc-checklist',
@@ -15,7 +15,7 @@ export class ChecklistComponent {
// push/pop the checkbox value
if (checkbox.isChecked) {
currentChecklistModel.selectedValues.push(checkbox.value);
- }else {
+ } else {
const index: number = currentChecklistModel.selectedValues.indexOf(checkbox.value);
currentChecklistModel.selectedValues.splice(index, 1);
}