Skip to content

Commit

Permalink
refactor: update disabledUserTeams computation in FormFieldsUsers.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
HerbertJulio committed Jan 20, 2025
1 parent 0752f46 commit a474e37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Users/FormsFields/FormFieldsUsers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
const { value: isAccountOwner } = useField('isAccountOwner')
const { value: teamsIds, errorMessage: errorTeamsIds } = useField('teamsIds')
const disabledUserTeams = computed(() => isAccountOwner || !optionsTeams.value.length)
const disabledUserTeams = computed(() => isAccountOwner.value || !optionsTeams.value.length)
const setCountriesOptions = (countries) => {
optionsCountriesMobile.value = countries
Expand Down

0 comments on commit a474e37

Please sign in to comment.