Files for new reelase.

This commit is contained in:
James Cole
2021-03-27 20:01:28 +01:00
parent 922050a79b
commit adfdcdb9c6
53 changed files with 225 additions and 161 deletions

View File

@@ -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.