+ {
+ type === "assignSubject" && (
+
- )}
+ )
+ }
{/* Formulario para autorizar usuarios */}
- {type === "authorizeUser" && (
-
-
-
-
+ {
+ type === "authorizeUser" && (
+
-
- )}
+ )
+ }
diff --git a/src/front/js/store/flux.js b/src/front/js/store/flux.js
index 0f911fbde2..555ec97f02 100755
--- a/src/front/js/store/flux.js
+++ b/src/front/js/store/flux.js
@@ -128,6 +128,11 @@ const getState = ({ getStore, getActions, setStore }) => {
}, userOperations: async (method, body = '', id = '') => {
return getActions().crudOperation('user/auth', method, { id, body, bluePrint: 'admin' })
+ }, allUsersOperations: async (method, body = '', id = '') => {
+ return getActions().crudOperation('users', method, { id, body, bluePrint: 'admin' })
+ }, setAllUsers: async () => {
+ const response = await getActions().allUsersOperations('GET')
+ setStore({ usuarios: response })
}, setUsers: async () => {
const response = await getActions().userOperations('GET')
setStore({ usuarios: response })
diff --git a/src/front/styles/components.css b/src/front/styles/components.css
index 87b353a2b3..d781c118fd 100644
--- a/src/front/styles/components.css
+++ b/src/front/styles/components.css
@@ -433,4 +433,8 @@
width: 100%;
height: auto;
padding: 2rem;
+}
+
+.react-datepicker-wrapper {
+ width: 100% !important;
}
\ No newline at end of file