LFFE-17 Implementation of loading for navigation pages dashboard
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import {NextLinkComposed} from "@/core/components/LinkRouting";
|
||||
import {
|
||||
Badge,
|
||||
CircularProgress,
|
||||
Collapse,
|
||||
IconButton,
|
||||
List,
|
||||
@@ -55,7 +56,8 @@ const SidebarListSubItem = ({item, handleDrawerToggle}) => {
|
||||
pr: 2,
|
||||
}}
|
||||
>
|
||||
{subitem.icon}
|
||||
{subitem.routing ?
|
||||
<CircularProgress size={24} color="inherit"/> : subitem.icon}
|
||||
</ListItemIcon>
|
||||
<ListItemText primary={t(subitem.key)} secondary={
|
||||
subitem.secondary !== undefined ? (
|
||||
|
||||
Reference in New Issue
Block a user