feat(transactions): UI updates

by @negue
This commit is contained in:
SabreCat
2022-11-15 19:28:36 -06:00
parent 1a5cba57b7
commit 259131ee3f
8 changed files with 350 additions and 86 deletions

View File

@@ -30,6 +30,10 @@ export default {
type: Object,
required: true,
},
resetCounter: {
type: Number,
required: true,
},
},
data () {
return {
@@ -38,6 +42,14 @@ export default {
hourglassTransactions: [],
};
},
watch: {
resetCounter () {
if (this.expand) {
this.expand = !this.expand;
this.toggleTransactionsOpen();
}
},
},
methods: {
async toggleTransactionsOpen () {
this.expand = !this.expand;