From 72936ba70df143367c937d98ee52be33fdfa58ab Mon Sep 17 00:00:00 2001 From: einhornimmond Date: Tue, 13 May 2025 11:45:19 +0200 Subject: [PATCH] update contributionStatus attribute --- .../ContributionMessagesList.spec.js | 4 +-- .../ContributionMessagesList.vue | 2 +- .../components/CreationTransactionList.vue | 2 +- .../Tables/OpenCreationsTable.spec.js | 6 ++--- .../components/Tables/OpenCreationsTable.vue | 26 +++++++++---------- .../components/TransactionLinkList.spec.js | 2 +- admin/src/components/TransactionLinkList.vue | 2 +- admin/src/pages/UserSearch.vue | 2 +- 8 files changed, 23 insertions(+), 23 deletions(-) diff --git a/admin/src/components/ContributionMessages/ContributionMessagesList.spec.js b/admin/src/components/ContributionMessages/ContributionMessagesList.spec.js index a47c78601..d737a32c9 100644 --- a/admin/src/components/ContributionMessages/ContributionMessagesList.spec.js +++ b/admin/src/components/ContributionMessages/ContributionMessagesList.spec.js @@ -108,7 +108,7 @@ describe('ContributionMessagesList', () => { id: 42, memo: 'test memo', userId: 108, - status: 'PENDING', + contributionStatus: 'PENDING', user: defaultUser, }, hideResubmission: true, @@ -153,7 +153,7 @@ describe('ContributionMessagesList', () => { it('does not render the ContributionMessagesFormular when status is not PENDING or IN_PROGRESS', async () => { await wrapper.setProps({ contribution: { - status: 'COMPLETED', + contributionStatus: 'COMPLETED', user: defaultUser, }, }) diff --git a/admin/src/components/ContributionMessages/ContributionMessagesList.vue b/admin/src/components/ContributionMessages/ContributionMessagesList.vue index 09b5a69ac..2175c73ed 100644 --- a/admin/src/components/ContributionMessages/ContributionMessagesList.vue +++ b/admin/src/components/ContributionMessages/ContributionMessagesList.vue @@ -41,7 +41,7 @@ /> -
+
{ let store const mockItems = [ - { id: 1, status: 'PENDING', userId: 2, moderatorId: null, messagesCount: 0 }, - { id: 2, status: 'CONFIRMED', userId: 3, moderatorId: 1, messagesCount: 2 }, + { id: 1, contributionStatus: 'PENDING', userId: 2, moderatorId: null, messagesCount: 0 }, + { id: 2, contributionStatus: 'CONFIRMED', userId: 3, moderatorId: 1, messagesCount: 2 }, ] const mockFields = [ - { key: 'status', label: 'Status' }, + { key: 'contributionStatus', label: 'Status' }, { key: 'bookmark', label: 'Bookmark' }, { key: 'memo', label: 'Memo' }, { key: 'editCreation', label: 'Edit' }, diff --git a/admin/src/components/Tables/OpenCreationsTable.vue b/admin/src/components/Tables/OpenCreationsTable.vue index 5bce1bfb7..d94f85bae 100644 --- a/admin/src/components/Tables/OpenCreationsTable.vue +++ b/admin/src/components/Tables/OpenCreationsTable.vue @@ -9,12 +9,12 @@ stacked="md" :tbody-tr-class="rowClass" > -