Skip to content

Commit

Permalink
fix(select-menu): fix merge popper options
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaubree committed Jan 18, 2024
1 parent 4f8454d commit 5350bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/select/USelectMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const slots = useSlots()
const config = computed(() => merge({}, useAppUi().selectMenu, props.ui))
const configSelect = computed(() => merge({}, useAppUi().select, props.uiSelect))
const popper = computed<PopperOptions>(() => merge({}, props.popper, config.value.popper))
const popper = computed<PopperOptions>(() => merge({}, config.value.popper, props.popper))
const isLeading = computed(() => (props.icon && props.isLeading) || (props.icon && !props.isTrailing) || (props.isLoading && !props.isTrailing) || props.leadingIcon)
const isTrailing = computed(() => (props.icon && props.isTrailing) || (props.isLoading && props.isTrailing) || props.trailingIcon)
const leadingIconName = computed(() => props.isLoading ? props.loadingIcon : props.leadingIcon || props.icon)
Expand Down

0 comments on commit 5350bb0

Please sign in to comment.