You've already forked filebrowser
mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-11-26 14:25:26 +08:00
buttons animations
This commit is contained in:
@@ -34,14 +34,12 @@ export default {
|
||||
uri += this.name + '/'
|
||||
uri = uri.replace('//', '/')
|
||||
|
||||
// buttons.setLoading('newDir')
|
||||
api.put(uri)
|
||||
.then(() => {
|
||||
// buttons.setDone('newDir')
|
||||
this.$router.push({ path: uri })
|
||||
})
|
||||
.catch(error => {
|
||||
// buttons.setDone('newDir', false)
|
||||
// TODO: Show error message!
|
||||
console.log(error)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user