diff --git a/Frontend/vue-project/src/components/CatalogCollections.vue b/Frontend/vue-project/src/components/CatalogCollections.vue index a9edefd..bd13872 100644 --- a/Frontend/vue-project/src/components/CatalogCollections.vue +++ b/Frontend/vue-project/src/components/CatalogCollections.vue @@ -21,8 +21,7 @@ collections: [], URL: "http://localhost:8080/", collection: new Collection(), - films: [], - selectedFilms: [] + films: [] } }, methods: { @@ -72,12 +71,10 @@ this.collection = { ...collection }; this.collection.status = "edit"; } - this.selectedFilms = this.collection.filmIds; document.getElementById("openModalForAdd").style.display = "block"; }, closeModalForAdd() { document.getElementById("openModalForAdd").style.display = "none"; - this.selectedFilms = []; this.collection = new Collection(); }, openModal(status, collection = null) {