cnap-cobre/synapse

View on GitHub
frontend/src/components/TabbedDirectoryBrowser/TabbedDirectoryBrowser.js

Summary

Maintainability
A
2 hrs
Test Coverage

Showing 1 of 1 total issue

Identical blocks of code found in 2 locations. Consider refactoring.
Open

matchesFileSystem = (path) => {
const { fileSystems } = this.props;
const matches = fileSystems.map(
sys => path.indexOf(`${sys.provider}/${sys.id}`) !== -1,
);
frontend/src/components/TabbedFileBrowser/TabbedFileBrowser.js on lines 110..117
Category
Status