diff --git a/Frontend/vue-project/src/components/CatalogFilms.vue b/Frontend/vue-project/src/components/CatalogFilms.vue index 96e159e..7050903 100644 --- a/Frontend/vue-project/src/components/CatalogFilms.vue +++ b/Frontend/vue-project/src/components/CatalogFilms.vue @@ -17,13 +17,9 @@ headers: [ { name: 'name', label: 'Название' } ], - headersGenres: [ - { name: 'name', label: 'Жанр' } - ], selectedGenres: [], genreUrl: 'genre/', - genres: [], - open: [] + genres: [] } }, created() { @@ -48,20 +44,6 @@ for(var j=0; j { - for (let i = 0; i < genreIds.length; i++) { - if (genre.id === genreIds[i]) { - result.push(genre); - } - } - }); - return result; } } }