Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 5008 Rev 5010
Línea 71... Línea 71...
71
                                            <Typography margin='0'>{child.label}</Typography>
71
                                            <Typography margin='0'>{child.label}</Typography>
72
                                        </AccordionSummary>
72
                                        </AccordionSummary>
73
                                        <AccordionDetails sx={{ padding: '0 16px' }}>
73
                                        <AccordionDetails sx={{ padding: '0 16px' }}>
74
                                            {child.childs.map((levelThree, index) => {
74
                                            {child.childs.map((levelThree, index) => {
75
                                                return (
75
                                                return (
76
                                                    <Link key={index} href={`/${levelThree.href}`}>
76
                                                    <Link key={index} href={`/${levelThree.href}`} >
77
                                                        <ListItemText primary={levelThree.label} />
77
                                                        <ListItemText primary={levelThree.label} />
78
                                                    </Link>
78
                                                    </Link>
79
                                                )
79
                                                )
80
                                            })}
80
                                            })}
81
                                        </AccordionDetails>
81
                                        </AccordionDetails>
82
                                    </Accordion>
82
                                    </Accordion>
83
                                )
83
                                )
84
                            }
84
                            }
85
                            return (
85
                            return (
86
                                <Link key={index} href={child.href[0] === '/' ? child.href : `/${child.href}`}>
86
                                <Link key={index} href={child.href[0] === '/' ? child.href : `/${child.href}`} sx={{ padding: '0 16px' }}>
87
                                    <ListItemText primary={child.label} />
87
                                    <ListItemText primary={child.label} />
88
                                </Link>
88
                                </Link>
89
                            )
89
                            )
90
                        })}
90
                        })}
91
                    </AccordionDetails>
91
                    </AccordionDetails>