Skip to content

Commit

Permalink
prettier whitespace changes
Browse files Browse the repository at this point in the history
  • Loading branch information
martzmakes authored and brandonroberts committed Jun 24, 2018
1 parent 389cd78 commit 70ae0e4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions example-app/app/books/components/book-detail.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ export class BookDetailComponent {
get thumbnail() {
return (
this.book.volumeInfo.imageLinks &&
this.book.volumeInfo.imageLinks.smallThumbnail &&
this.book.volumeInfo.imageLinks.smallThumbnail.replace('http:', '')
this.book.volumeInfo.imageLinks.smallThumbnail &&
this.book.volumeInfo.imageLinks.smallThumbnail.replace('http:', '')
);
}
}
5 changes: 4 additions & 1 deletion example-app/app/books/components/book-preview.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@ export class BookPreviewComponent {

get thumbnail(): string | boolean {
if (this.book.volumeInfo.imageLinks) {
return this.book.volumeInfo.imageLinks.smallThumbnail.replace('http:', '');
return this.book.volumeInfo.imageLinks.smallThumbnail.replace(
'http:',
''
);
}

return false;
Expand Down

0 comments on commit 70ae0e4

Please sign in to comment.