Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 6985 Rev 6986
Línea 214... Línea 214...
214
              <Link
214
              <Link
215
                to={option.url}
215
                to={option.url}
216
                title={option.label}
216
                title={option.label}
217
                className="position-relative"
217
                className="position-relative"
218
                onClick={(e) => {
218
                onClick={(e) => {
219
                  if (!breakOptions.includes(option.url)) {
-
 
220
                    e.preventDefault()
-
 
221
                    showConfirm(option.url)
-
 
222
                    return
-
 
223
                  }
-
 
224
 
-
 
225
                  if (option.url === link_unfollow) {
219
                  if (option.url === link_unfollow) {
226
                    e.preventDefault()
220
                    e.preventDefault()
227
                    handleUnfollow(option.url)
221
                    handleUnfollow(option.url)
228
                    return
222
                    return
229
                  }
223
                  }
Línea 235... Línea 229...
235
                  }
229
                  }
Línea 236... Línea 230...
236
 
230
 
237
                  if (option.url === link_impersonate) {
231
                  if (option.url === link_impersonate) {
238
                    e.preventDefault()
232
                    e.preventDefault()
-
 
233
                    getImpersonateUrl(option.url)
-
 
234
                    return
-
 
235
                  }
-
 
236
 
-
 
237
                  if (!breakOptions.includes(option.url)) {
-
 
238
                    e.preventDefault()
239
                    getImpersonateUrl(option.url)
239
                    showConfirm(option.url)
240
                  }
240
                  }
241
                }}
241
                }}
242
              >
242
              >
243
                <button className={`btn btn-${option.color}`}>
243
                <button className={`btn btn-${option.color}`}>