Skip to content

Commit

Permalink
fix: fix contact selector (#6680)
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin authored Jun 13, 2023
1 parent 7b8997c commit 05c1333
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions resources/js/Shared/Form/ContactSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ import { trans } from 'laravel-vue-i18n';
import Errors from '@/Shared/Form/Errors.vue';
const props = defineProps({
modelValue: {
type: [Array],
default: () => [],
},
modelValue: Array,
inputClass: String,
placeholder: {
type: String,
Expand Down Expand Up @@ -44,7 +41,7 @@ const form = useForm({
});
const displayAddContactButton = computed(() => {
if (!props.addMultipleContacts && props.localContacts.length >= 1) {
if (!props.addMultipleContacts && localContacts.value.length >= 1) {
return false;
}
Expand Down

0 comments on commit 05c1333

Please sign in to comment.