frontend/src/components/FileBrowser/FileBrowser.js
Showing 4 of 4 total issues
Function render
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() { const { system, systemPrefix, pathname,
Avoid too many return
statements within this function. Open
Open
return setFocusedFilesList( list.map(f => f.fullPath).slice( Math.min(mostRecentSelectionIndex, currentSelectionIndex), Math.max(mostRecentSelectionIndex, currentSelectionIndex) + 1, ),
Avoid too many return
statements within this function. Open
Open
return setFocusedFile(file.fullPath);
TODO found Open
Open
error: false, // TODO: fix this hack and actually handle errors
- Exclude checks