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>
</template>
</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>
<slot name="movealltosourceicon" :viewChanged="viewChanged">
<component :is="viewChanged ? 'AngleDoubleUpIcon' : 'AngleDoubleLeftIcon'" v-bind="ptm('moveAllToSourceButton')['icon']" data-pc-section="movealltosourceicon" />
@ -839,9 +839,6 @@ export default {
},
moveAllDisabled(list) {
return ObjectUtils.isEmpty(this[list]);
},
moveSourceDisabled() {
return ObjectUtils.isEmpty(this.targetList);
}
},
computed: {