Update PickList.vue
parent
094dc18713
commit
5111f10c5a
|
@ -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: {
|
||||||
|
|
Loading…
Reference in New Issue