Merge branch 'accounting' into dev
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
if (!transaction.destination.id) sums[0] += transaction.amount;
|
||||
if (!transaction.source.id) sums[0] -= transaction.amount;
|
||||
}
|
||||
window.setTimeout(scrollToBottom,100);
|
||||
return sums;
|
||||
}
|
||||
|
||||
@@ -65,6 +66,10 @@
|
||||
load();
|
||||
}
|
||||
|
||||
function scrollToBottom(){
|
||||
window.scrollTo(0, document.body.scrollHeight);
|
||||
}
|
||||
|
||||
onMount(load);
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user