From be89c605595d4956944ae15213b0dbfe4e7ee52e Mon Sep 17 00:00:00 2001 From: Matias Espinoza Date: Thu, 13 Dec 2018 12:30:51 -0300 Subject: [PATCH] categorias arregladas en todas partes --- src/app/components/card-book/card-book.component.html | 5 ++--- src/app/components/card-book/card-book.component.ts | 3 ++- src/app/components/one-book/one-book.component.html | 2 +- src/app/interface/books.interface.ts | 2 +- src/app/pages/profile/profile.component.html | 4 ++-- src/app/shared/sidebar/sidebar.component.html | 5 ++--- 6 files changed, 10 insertions(+), 11 deletions(-) diff --git a/src/app/components/card-book/card-book.component.html b/src/app/components/card-book/card-book.component.html index fb40c32..c29240c 100644 --- a/src/app/components/card-book/card-book.component.html +++ b/src/app/components/card-book/card-book.component.html @@ -139,12 +139,11 @@
{{ book_modal.user.phone }}
{{ book_modal.user.created_date }}
-
Categorías favoritas:
diff --git a/src/app/components/card-book/card-book.component.ts b/src/app/components/card-book/card-book.component.ts index 82a2388..03f2af0 100644 --- a/src/app/components/card-book/card-book.component.ts +++ b/src/app/components/card-book/card-book.component.ts @@ -32,7 +32,7 @@ export class CardBookComponent implements OnInit { title: '', editorial: '', type: '', - categories: [], + genres: [], language: '', num_page: 0, original: false, @@ -177,4 +177,5 @@ export class CardBookComponent implements OnInit { .subscribe( data => this.count_book = data.length ); } + } diff --git a/src/app/components/one-book/one-book.component.html b/src/app/components/one-book/one-book.component.html index 2a98536..c32338b 100644 --- a/src/app/components/one-book/one-book.component.html +++ b/src/app/components/one-book/one-book.component.html @@ -100,7 +100,7 @@

Detalles

-

{{ book.categories }}

+

- {{ c }}

diff --git a/src/app/interface/books.interface.ts b/src/app/interface/books.interface.ts index c813786..2e6dc6e 100644 --- a/src/app/interface/books.interface.ts +++ b/src/app/interface/books.interface.ts @@ -5,7 +5,7 @@ export interface Books{ title: string; editorial: string; type: string; - categories: Array; + genres: Array; language: string; comment: string; num_page: number; diff --git a/src/app/pages/profile/profile.component.html b/src/app/pages/profile/profile.component.html index 6c22b34..85d7a1d 100644 --- a/src/app/pages/profile/profile.component.html +++ b/src/app/pages/profile/profile.component.html @@ -72,8 +72,8 @@
{{ profile.created_date }}
Categorías favoritas:
    -
  • -
    {{ c }}
    +
  • +
    {{ c }}
diff --git a/src/app/shared/sidebar/sidebar.component.html b/src/app/shared/sidebar/sidebar.component.html index 515c532..02e126d 100644 --- a/src/app/shared/sidebar/sidebar.component.html +++ b/src/app/shared/sidebar/sidebar.component.html @@ -2,11 +2,10 @@