From 72cc3edb7d3fd174c56e2fdacd17b61447cc4671 Mon Sep 17 00:00:00 2001 From: "ityurner02@mail.ru" Date: Sun, 21 May 2023 17:34:35 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9B=D0=A04=20-=D0=BB=D0=B8=D1=88=D0=BD=D0=B5?= =?UTF-8?q?=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Frontend/vue-project/src/components/CatalogCollections.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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) {