zammad/zammad

View on GitHub
app/frontend/shared/composables/useLocaleUpdate.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function useLocaleUpdate has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const useLocaleUpdate = () => {
  const isSavingLocale = ref(false)

  const localeMutation = new MutationHandler(useAccountLocaleMutation({}), {
    errorNotificationMessage: __('The language could not be updated.'),
Severity: Minor
Found in app/frontend/shared/composables/useLocaleUpdate.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status