We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed82b62 commit 9e1c2a3Copy full SHA for 9e1c2a3
src/components/BAvatar/BAvatarGroup.vue
@@ -44,10 +44,8 @@ export default defineComponent({
44
setup(props) {
45
const computedSize = computed(() => computeSize(props.size))
46
47
- const computeOverlap = (value: any): number => {
48
- const calcValue = isString(value) && isNumeric(value) ? toFloat(value, 0) : value || 0
49
- return calcValue
50
- }
+ const computeOverlap = (value: any): number =>
+ isString(value) && isNumeric(value) ? toFloat(value, 0) : value || 0
51
const overlapScale = computed(() => mathMin(mathMax(computeOverlap(props.overlap), 0), 1) / 2)
52
53
const paddingStyle = computed((): StyleValue => {
0 commit comments