app/frontend/shared/entities/object-attributes/composables/useObjectAttributes.ts
Function useObjectAttributes
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
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.