@@ -40,7 +40,11 @@ function FileTitle({
4040 return (
4141 < TitleHeader
4242 helpTo = "/ref/storage/file.html"
43- breadcrumbList = { [ { title : 'File' , to : routes . fileList ( ) } , { title : fileId , to : routes . file ( { fileId } ) } , ...breadcrumbList ] }
43+ breadcrumbList = { [
44+ { title : 'File' , to : routes . fileList ( ) } ,
45+ { title : fileId , to : routes . file ( { fileId } ) } ,
46+ ...breadcrumbList ,
47+ ] }
4448 iconList = { (
4549 < >
4650 { fileDocument && (
@@ -52,37 +56,43 @@ function FileTitle({
5256 < Typography color = "inherit" > Change State</ Typography >
5357 </ MenuItem >
5458 < MenuItem onClick = { ( ) => onOpen ( { modalName : uriModal } ) } >
55- < Typography color = "inherit" > Generate Temporary URI</ Typography >
59+ < Typography color = "inherit" >
60+ Generate Temporary URI
61+ </ Typography >
5662 </ MenuItem >
57- < UnstyledLink to = { `/import?tab=IMPORTFILE_TAB& fileId=${ fileId } ` } >
63+ < UnstyledLink to = { `/import/file/? fileId=${ fileId } ` } >
5864 < MenuItem >
5965 < Typography color = "inherit" > Import As Item</ Typography >
6066 </ MenuItem >
6167 </ UnstyledLink >
6268 < MenuItem >
63- < UnstyledLink to = { `/import?tab=IMPORTSHAPE_TAB& fileId=${ fileId } ` } >
69+ < UnstyledLink to = { `/import/item/shape/? fileId=${ fileId } ` } >
6470 < Typography > Import As Shape</ Typography >
6571 </ UnstyledLink >
6672 </ MenuItem >
67- < UnstyledLink to = { `/import?tab=IMPORTCOMPONENT_TAB& fileId=${ fileId } ` } >
73+ < UnstyledLink to = { `/import/item/component/? fileId=${ fileId } ` } >
6874 < MenuItem >
6975 < Typography color = "inherit" > Import To Component</ Typography >
7076 </ MenuItem >
7177 </ UnstyledLink >
72- < UnstyledLink to = { `/import?tab=IMPORTSIDECAR_TAB& fileId=${ fileId } ` } >
78+ < UnstyledLink to = { `/import/sidecar/? fileId=${ fileId } ` } >
7379 < MenuItem >
7480 < Typography color = "inherit" > Import As Sidecar</ Typography >
7581 </ MenuItem >
7682 </ UnstyledLink >
77- < UnstyledLink to = { `/import-imp/?tab=IMPORTIMP_FILE_TAB&fileId=${ fileId } ` } >
83+ < UnstyledLink
84+ to = { `/import-imp/?tab=IMPORTIMP_FILE_TAB&fileId=${ fileId } ` }
85+ >
7886 < MenuItem >
7987 < Typography color = "inherit" > Import As IMP</ Typography >
8088 </ MenuItem >
8189 </ UnstyledLink >
8290 < MenuItem onClick = { ( ) => onOpen ( { modalName : analyzeModal } ) } >
8391 < Typography color = "inherit" > Shape Deduction</ Typography >
8492 </ MenuItem >
85- < MenuItem onClick = { ( ) => onOpen ( { modalName : impAnalyzeModal } ) } >
93+ < MenuItem
94+ onClick = { ( ) => onOpen ( { modalName : impAnalyzeModal } ) }
95+ >
8696 < Typography color = "inherit" > IMP Deduction</ Typography >
8797 </ MenuItem >
8898 < MenuItem onClick = { ( ) => onOpen ( { modalName : moveModal } ) } >
@@ -102,7 +112,9 @@ function FileTitle({
102112 abandonModal = { abandonModal }
103113 onOpen = { onOpen }
104114 />
105- < MenuItem onClick = { ( ) => onOpen ( { modalName : removeEntityModal } ) } >
115+ < MenuItem
116+ onClick = { ( ) => onOpen ( { modalName : removeEntityModal } ) }
117+ >
106118 < Typography color = "secondary" > Remove Entity</ Typography >
107119 </ MenuItem >
108120 < MenuItem onClick = { ( ) => onOpen ( { modalName : deleteModal } ) } >
@@ -111,7 +123,6 @@ function FileTitle({
111123 </ Menu >
112124 </ >
113125 ) }
114-
115126 </ >
116127 ) }
117128 { ...props }
0 commit comments