Fixed a bug where another book would take the place of a non existing one after deleting it

This commit is contained in:
konrad 2017-11-20 12:55:50 +01:00 committed by kolaente
parent 7b864ff958
commit 2462272008
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 0 deletions

View File

@ -140,6 +140,7 @@ export default {
methods: {
loadBooks () {
this.loading = true
this.books = []
HTTP.get(`books`)
.then(response => {
let bs = response.data