Fixed reloading issue when deleting a book

This commit is contained in:
konrad 2017-11-23 16:05:39 +01:00 committed by kolaente
parent ae80d91f34
commit 6b4076b29f
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 2 additions and 4 deletions

View File

@ -242,12 +242,13 @@ export default {
title: this.langGeneral.success,
text: this.langBook.deleteSuccess
})
this.loadBooks()
}
})
.catch(e => {
this.errorNotification(e)
this.loadBooks()
})
this.loadBooks()
this.showModal = false
})
},

View File

@ -1,7 +1,4 @@
import axios from 'axios'
// import auth from '../auth'
// import config from '../../static/config'
// import config from 'config'
let config = require('../../siteconfig.json')
export const HTTP = axios.create({