[cogenda-web] [skip ci] - Refactor code.