refactor: enhance role management UI and integrate profile management features
- Introduced a modal for managing user profiles, allowing for the creation and editing of profiles with improved state management. - Updated the role filtering logic to enhance type safety and readability. - Refactored UI components for better user experience, including improved button states and loading indicators. - Removed outdated code related to permissions and streamlined the overall structure for maintainability.
This commit is contained in:
@@ -48,7 +48,6 @@ export const getAll = query({
|
||||
// Retornar apenas os campos necessários para listagem
|
||||
return funcionarios.map((f) => ({
|
||||
_id: f._id,
|
||||
_creationTime: f._creationTime,
|
||||
nome: f.nome,
|
||||
matricula: f.matricula,
|
||||
cpf: f.cpf,
|
||||
|
||||
Reference in New Issue
Block a user