Skip to content

Commit

Permalink
fix(watch): All the models from all the brands are now correctly sugg…
Browse files Browse the repository at this point in the history
…ested

Change API call to match new signature. Actual fix is in the api
  • Loading branch information
MathieuNls committed Mar 15, 2017
1 parent 60b9c7a commit 93598cb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/watch/watch.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<div class="suggestions" *ngIf="filteredBrandList.length > 0">
<ul>
<li *ngFor="let brand of filteredBrandList">
<a (click)="selectBrand(brand.name)">{{ brand.name }}</a>
<a (click)="selectBrand(brand)">{{ brand.name }}</a>
<img src="assets/watches/ico_watches/{{ brand.icon }}"/>
</li>
</ul>
Expand Down
1 change: 0 additions & 1 deletion src/pages/watch/watch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ export class WatchPage extends WatchComponent {
}

onSubmit(){
console.log("here");
super.onSubmit();
if(this.error == true){
let alert = this.alertController.create({
Expand Down

0 comments on commit 93598cb

Please sign in to comment.