buttons animations
Former-commit-id: 7c32637982be8af78d41c5610405694689c8df55 [formerly 461b2f1d4556df9ef36ebac39e0a269aad57cce1] [formerly 071f6ef97283c1e5c0ebac49fda747fa77f6a539 [formerly f9699f174d9601b645a67c00771aea24f4a656cb]] Former-commit-id: a052df2da3d1dc23311e69ffd8d058567fa9bd3b [formerly ebdbc05a6bd049a2479b850b23c7e2ffa7a5ba5f] Former-commit-id: 56066e9d06059f6dbfc87e28a7bd8406bff06a5d
This commit is contained in:
@@ -34,14 +34,12 @@ export default {
|
||||
uri += this.name
|
||||
uri = uri.replace('//', '/')
|
||||
|
||||
// buttons.setLoading('newFile')
|
||||
api.put(uri)
|
||||
.then(() => {
|
||||
// buttons.setDone('newFile')
|
||||
this.$router.push({ path: uri })
|
||||
})
|
||||
.catch(error => {
|
||||
// buttons.setDone('newFile', false)
|
||||
// TODO: show error message in a box
|
||||
console.log(error)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user