Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 11020 | Rev 11069 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 11020 Rev 11051
Línea 73... Línea 73...
73
 
73
 
74
		axios.post(actionLink, submitData)
74
		axios.post(actionLink, submitData)
75
			.then(({ data }) => {
75
			.then(({ data }) => {
76
				if (!data.success) {
76
				if (!data.success) {
77
					dispatch(addNotification({
77
					dispatch(addNotification({
78
						style: 'error',
78
						style: 'danger',
79
						msg: 'Ha ocurrido un error'
79
						msg: 'Ha ocurrido un error'
80
					}))
80
					}))
Línea 81... Línea 81...
81
				}
81
				}
Línea 94... Línea 94...
94
				.then(({ data }) => {
94
				.then(({ data }) => {
95
					const resData = data.data
95
					const resData = data.data
Línea 96... Línea 96...
96
 
96
 
97
					if (!data.success) {
97
					if (!data.success) {
98
						dispatch(addNotification({
98
						dispatch(addNotification({
99
							style: 'error',
99
							style: 'danger',
100
							msg: 'Ha ocurrido un error'
100
							msg: 'Ha ocurrido un error'
101
						}))
101
						}))
Línea 102... Línea 102...
102
					}
102
					}
Línea 133... Línea 133...
133
		axios.get(typeOptions.url)
133
		axios.get(typeOptions.url)
134
			.then(({ data }) => {
134
			.then(({ data }) => {
Línea 135... Línea 135...
135
 
135
 
136
				if (!data.success) {
136
				if (!data.success) {
137
					dispatch(addNotification({
137
					dispatch(addNotification({
138
						style: 'error',
138
						style: 'danger',
139
						msg: 'Ha ocurrido un error'
139
						msg: 'Ha ocurrido un error'
140
					}))
140
					}))
Línea 141... Línea 141...
141
				}
141
				}
Línea 151... Línea 151...
151
				.then(({ data }) => {
151
				.then(({ data }) => {
152
					const resData = data.data
152
					const resData = data.data
Línea 153... Línea 153...
153
 
153
 
154
					if (!data.success) {
154
					if (!data.success) {
155
						dispatch(addNotification({
155
						dispatch(addNotification({
156
							style: 'error',
156
							style: 'danger',
157
							msg: 'Ha ocurrido un error'
157
							msg: 'Ha ocurrido un error'
158
						}))
158
						}))
Línea 159... Línea 159...
159
					}
159
					}