Skip to content

Commit

Permalink
fix(alert): name is non-null
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat committed Aug 29, 2018
1 parent 802df8a commit 2268346
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/components/alert/alert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ export class Alert implements OverlayInterface {
// return an object of all the values with the input name as the key
const values: {[k: string]: string} = {};
this.processedInputs.forEach(i => {
values[i.name] = i.value || '';
values[i.name!] = i.value || '';
});
return values;
}
Expand Down

0 comments on commit 2268346

Please sign in to comment.