zammad/zammad

View on GitHub
app/frontend/shared/entities/object-attributes/composables/useObjectAttributes.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function useObjectAttributes has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const useObjectAttributes = (object: EnumObjectManagerObjects) => {
  const objectAttributes = useObjectAttributesStore()

  // Check if we have already a instance of the requested object
  // attribute object, otherwise trigger the query.

    There are no issues that match your filters.

    Category
    Status