mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fix bug
This commit is contained in:
parent
3d6b889624
commit
f7454e3146
@ -4,6 +4,7 @@
|
|||||||
<contribution-list-item
|
<contribution-list-item
|
||||||
v-bind="item"
|
v-bind="item"
|
||||||
:contributionId="item.id"
|
:contributionId="item.id"
|
||||||
|
:allContribution="allContribution"
|
||||||
@update-contribution-form="updateContributionForm"
|
@update-contribution-form="updateContributionForm"
|
||||||
@delete-contribution="deleteContribution"
|
@delete-contribution="deleteContribution"
|
||||||
@update-state="updateState"
|
@update-state="updateState"
|
||||||
@ -44,6 +45,11 @@ export default {
|
|||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
pageSize: { type: Number, default: 25 },
|
pageSize: { type: Number, default: 25 },
|
||||||
|
allContribution: {
|
||||||
|
type: Boolean,
|
||||||
|
required: false,
|
||||||
|
default: false,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@ -29,7 +29,7 @@
|
|||||||
<div class="mr-2">{{ memo }}</div>
|
<div class="mr-2">{{ memo }}</div>
|
||||||
<div class="d-flex flex-row-reverse">
|
<div class="d-flex flex-row-reverse">
|
||||||
<div
|
<div
|
||||||
v-if="!['CONFIRMED', 'DELETED'].includes(state)"
|
v-if="!['CONFIRMED', 'DELETED'].includes(state) && !allContribution"
|
||||||
class="pointer ml-5"
|
class="pointer ml-5"
|
||||||
@click="
|
@click="
|
||||||
$emit('update-contribution-form', {
|
$emit('update-contribution-form', {
|
||||||
@ -43,7 +43,7 @@
|
|||||||
<b-icon icon="pencil" class="h2"></b-icon>
|
<b-icon icon="pencil" class="h2"></b-icon>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
v-if="!['CONFIRMED', 'DELETED'].includes(state)"
|
v-if="!['CONFIRMED', 'DELETED'].includes(state) && !allContribution"
|
||||||
class="pointer"
|
class="pointer"
|
||||||
@click="deleteContribution({ id })"
|
@click="deleteContribution({ id })"
|
||||||
>
|
>
|
||||||
@ -141,6 +141,11 @@ export default {
|
|||||||
type: Number,
|
type: Number,
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
|
allContribution: {
|
||||||
|
type: Boolean,
|
||||||
|
required: false,
|
||||||
|
default: false,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@ -73,6 +73,7 @@
|
|||||||
:contributionCount="contributionCountAll"
|
:contributionCount="contributionCountAll"
|
||||||
:showPagination="true"
|
:showPagination="true"
|
||||||
:pageSize="pageSizeAll"
|
:pageSize="pageSizeAll"
|
||||||
|
:allContribution="true"
|
||||||
/>
|
/>
|
||||||
</b-tab>
|
</b-tab>
|
||||||
</b-tabs>
|
</b-tabs>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user