File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ui/src/components/LegacyCms/Actions Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -89,11 +89,11 @@ const LoadFileFormat = (props: LoadFileFormatProps) => {
8989 fileformat_id : fileFormat ,
9090 group_name : fileFormat ,
9191 isactive : true ,
92- title : fileFormat === 'zip' ? fileFormat ?. charAt ( 0 ) ?. toUpperCase ( ) + fileFormat ?. slice ( 1 ) : fileFormat ?. toUpperCase ( )
92+ title : fileFormat === 'zip' ? fileFormat ?. charAt ?. ( 0 ) ?. toUpperCase ( ) + fileFormat ?. slice ?. ( 1 ) : fileFormat ?. toUpperCase ( )
9393 }
9494
9595
96- setFileIcon ( fileFormat === 'zip' ? fileFormat ?. charAt ( 0 ) . toUpperCase ( ) + fileFormat . slice ( 1 ) : fileFormat ?. toUpperCase ( ) ) ;
96+ setFileIcon ( fileFormat === 'zip' ? fileFormat ?. charAt ?. ( 0 ) . toUpperCase ( ) + fileFormat ? .slice ?. ( 1 ) : fileFormat ?. toUpperCase ( ) ) ;
9797
9898 }
9999 } catch ( error ) {
You can’t perform that action at this time.
0 commit comments