ЛР4 -лишнее
This commit is contained in:
parent
1126696bb9
commit
72cc3edb7d
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user