File tree Expand file tree Collapse file tree
resources/js/components/fieldtypes/replicator Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<template >
22
33 <div class =" replicator-set-picker" >
4- <dropdown-list class =" align-left inline-block" placement =" bottom-start" >
4+ <dropdown-list class =" align-left inline-block" placement =" bottom-start" v-if = " sets.length > 1 " >
55 <template v-slot :trigger >
66 <button v-if =" last" class =" btn-round" v-tooltip.right =" __('Add Set')" :aria-label =" __('Add Set')" >
77 <span class =" icon icon-plus text-grey-80 antialiased" ></span >
1515 <dropdown-item :text =" set.display || set.handle" @click =" addSet(set.handle)" />
1616 </div >
1717 </dropdown-list >
18+ <button v-else :class =" {'btn-round': last, 'dropdown-icon': !last }" v-tooltip.right =" __('Add Set')" :aria-label =" __('Add Set')" @click =" addSet(sets[0].handle)" >
19+ <span class =" icon icon-plus text-grey-80 antialiased" ></span >
20+ </button >
1821 </div >
1922
2023</template >
You can’t perform that action at this time.
0 commit comments