Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiio committed Sep 6, 2023
1 parent 243f11b commit 051a6c7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions resources/js/Components/form/Select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
ComboboxOption,
ComboboxOptions,
} from '@headlessui/vue';
import { useI18n } from 'vue-i18n';
import { trans } from 'laravel-vue-i18n';
/** Component props. */
const props = defineProps({
Expand All @@ -96,7 +96,6 @@
default: false,
},
});
const { t } = useI18n();
/** Query input. */
const query = ref('');
Expand All @@ -120,7 +119,7 @@
let name = option.name ? option.name : option;
if (props.useTranslation) {
return t(name);
return trans(name);
}
return name;
};
Expand Down

0 comments on commit 051a6c7

Please sign in to comment.