Skip to content

Commit

Permalink
refactor: update listTeamsService to include query parameters for fields
Browse files Browse the repository at this point in the history
  • Loading branch information
HerbertJulio committed Jan 20, 2025
1 parent c3f8cfb commit 0752f46
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/views/Users/FormsFields/FormFieldsUsers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
const { value: isAccountOwner } = useField('isAccountOwner')
const { value: teamsIds, errorMessage: errorTeamsIds } = useField('teamsIds')
const disabledUserTeams = computed(() => isAccountOwner || !optionsTeams.value.length)
const setCountriesOptions = (countries) => {
optionsCountriesMobile.value = countries
filteredCountriesMobile.value = [...countries]
Expand Down Expand Up @@ -359,7 +361,7 @@
filter
autoFilterFocus
id="teams"
:disabled="isAccountOwner || !optionsTeams.length"
:disabled="disabledUserTeams"
:loading="!optionsTeams.length"
:options="optionsTeams"
optionLabel="label"
Expand Down

0 comments on commit 0752f46

Please sign in to comment.