Update PickList.vue

pull/4879/head
tugcekucukoglu 2023-11-23 21:53:18 +03:00
parent 094dc18713
commit 5111f10c5a
1 changed files with 1 additions and 4 deletions

View File

@ -96,7 +96,7 @@
</slot> </slot>
</template> </template>
</PLButton> </PLButton>
<PLButton :aria-label="moveAllToSourceAriaLabel" type="button" @click="moveAllToSource" :disabled="moveSourceDisabled('targetList')" :pt="ptm('moveAllToSourceButton')" v-bind="moveAllToSourceProps" :unstyled="unstyled"> <PLButton :aria-label="moveAllToSourceAriaLabel" type="button" @click="moveAllToSource" :disabled="moveAllDisabled('targetList')" :pt="ptm('moveAllToSourceButton')" v-bind="moveAllToSourceProps" :unstyled="unstyled">
<template #icon> <template #icon>
<slot name="movealltosourceicon" :viewChanged="viewChanged"> <slot name="movealltosourceicon" :viewChanged="viewChanged">
<component :is="viewChanged ? 'AngleDoubleUpIcon' : 'AngleDoubleLeftIcon'" v-bind="ptm('moveAllToSourceButton')['icon']" data-pc-section="movealltosourceicon" /> <component :is="viewChanged ? 'AngleDoubleUpIcon' : 'AngleDoubleLeftIcon'" v-bind="ptm('moveAllToSourceButton')['icon']" data-pc-section="movealltosourceicon" />
@ -839,9 +839,6 @@ export default {
}, },
moveAllDisabled(list) { moveAllDisabled(list) {
return ObjectUtils.isEmpty(this[list]); return ObjectUtils.isEmpty(this[list]);
},
moveSourceDisabled() {
return ObjectUtils.isEmpty(this.targetList);
} }
}, },
computed: { computed: {