mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-20 03:10:57 +00:00
Files for new reelase.
This commit is contained in:
@@ -218,8 +218,8 @@ export default {
|
||||
|
||||
// the actual account
|
||||
if (current.id === identifier) {
|
||||
this.accounts[i].order = newOrder;
|
||||
let newOrder = parseInt(current.order) + (newIndex - oldIndex);
|
||||
this.accounts[i].order = newOrder;
|
||||
let url = './api/v1/accounts/' + current.id;
|
||||
axios.put(url, {order: newOrder}).then(response => {
|
||||
// TODO should update local account list, not refresh the whole thing.
|
||||
|
Reference in New Issue
Block a user