diff --git a/frontend/src/pages/Community.vue b/frontend/src/pages/Community.vue index 1753ca5d2..7e53106d5 100644 --- a/frontend/src/pages/Community.vue +++ b/frontend/src/pages/Community.vue @@ -2,7 +2,7 @@
- + - + +

{{ $t('community.myContributions') }}

@@ -108,6 +118,7 @@ export default { amount: '', }, updateAmount: '', + pleaseReply: false, } }, methods: { @@ -228,6 +239,13 @@ export default { } = result this.contributionCount = listContributions.contributionCount this.items = listContributions.contributionList + if (this.items.find((item) => item.state === 'IN_PROGRESS')) { + this.tabIndex = 1 + this.pleaseReply = true + } else { + this.tabIndex = 0 + this.pleaseReply = false + } }) .catch((err) => { this.toastError(err.message) @@ -276,6 +294,7 @@ export default { pageSize: this.pageSize, }) this.updateTransactions(0) + this.tabIndex = 1 }, }