+
{retryDisplay}
{mountItems}
-
+
{footerItems}
);
diff --git a/src/containers/PinnedManager/PinnedManager.js b/src/containers/PinnedManager/PinnedManager.js
index f2ee695..66ddbc7 100644
--- a/src/containers/PinnedManager/PinnedManager.js
+++ b/src/containers/PinnedManager/PinnedManager.js
@@ -4,12 +4,12 @@ import Box from '../../components/UI/Box/Box';
import Button from '../../components/UI/Button/Button';
import CheckBox from '../../components/UI/CheckBox/CheckBox';
import IPCContainer from '../IPCContainer/IPCContainer';
-import {FontAwesomeIcon} from '@fortawesome/react-fontawesome';
-import {connect} from 'react-redux';
-import {displayPinnedManager} from '../../redux/actions/pinned_manager_actions';
-import {faFolder} from '@fortawesome/free-solid-svg-icons';
-import {notifyApplicationBusy} from '../../redux/actions/common_actions';
-import {notifyError, notifyInfo} from '../../redux/actions/error_actions';
+import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
+import { connect } from 'react-redux';
+import { displayPinnedManager } from '../../redux/actions/pinned_manager_actions';
+import { faFolder } from '@fortawesome/free-solid-svg-icons';
+import { notifyApplicationBusy } from '../../redux/actions/common_actions';
+import { notifyError, notifyInfo } from '../../redux/actions/error_actions';
const Constants = require('../../constants');
@@ -39,7 +39,7 @@ class PinnedManager extends IPCContainer {
});
};
- onGetDirectoryItemsReply = (_, {data}) => {
+ onGetDirectoryItemsReply = (_, { data }) => {
if (data.Success) {
const items = data.Items.filter(
(i) =>
@@ -70,9 +70,9 @@ class PinnedManager extends IPCContainer {
style.marginBottom = '4px';
}
return (
-
+
@@ -104,12 +104,12 @@ class PinnedManager extends IPCContainer {
};
createFile = (name, path, pinned, idx, total, item_idx) => {
- const style = {textAlign: 'left'};
+ const style = { textAlign: 'left' };
if (item_idx + 1 !== total) {
style.marginBottom = '2px';
}
return (
-
+
-
{'Pinned File Manager'}
+
{'Pinned File Manager'}
{this.state.active_directory}
@@ -168,13 +168,13 @@ class PinnedManager extends IPCContainer {
return i.directory
? this.createDirectory(i.name, i.path, idx++, this.state.items.length, k)
: this.createFile(
- i.name,
- i.path,
- i.meta.pinned,
- idx++,
- this.state.items.length,
- k
- );
+ i.name,
+ i.path,
+ i.meta.pinned,
+ idx++,
+ this.state.items.length,
+ k
+ );
})}
diff --git a/src/containers/SkynetExport/SkynetExport.js b/src/containers/SkynetExport/SkynetExport.js
index 288ec84..3655d3f 100644
--- a/src/containers/SkynetExport/SkynetExport.js
+++ b/src/containers/SkynetExport/SkynetExport.js
@@ -1,13 +1,13 @@
import React from 'react';
import './SkynetExport.css';
import CheckboxTree from 'react-checkbox-tree';
-import {connect} from 'react-redux';
+import { connect } from 'react-redux';
import IPCContainer from '../IPCContainer/IPCContainer';
-import {notifyApplicationBusy} from '../../redux/actions/common_actions';
-import {notifyError, notifyInfo} from '../../redux/actions/error_actions';
+import { notifyApplicationBusy } from '../../redux/actions/common_actions';
+import { notifyError, notifyInfo } from '../../redux/actions/error_actions';
import Box from '../../components/UI/Box/Box';
-import {displaySkynetExport} from '../../redux/actions/skynet_actions';
-import {FontAwesomeIcon} from '@fortawesome/react-fontawesome';
+import { displaySkynetExport } from '../../redux/actions/skynet_actions';
+import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import {
faCheckSquare,
faChevronDown,
@@ -158,7 +158,7 @@ export default connect(
render() {
return this.props.AppBusy ? (
-
+
) : (
this.props.displaySkynetExport(false)}
- style={{cursor: 'pointer'}}>
+ style={{ cursor: 'pointer' }}>
X
@@ -214,45 +214,45 @@ export default connect(
),
uncheck: (
-
+
),
halfCheck: (
),
expandClose: (
),
expandOpen: (
),
expandAll: (
),
collapseAll: (
),
parentClose: (
@@ -260,7 +260,7 @@ export default connect(
icon={faFolder}
fixedWidth
color={'var(--heading_text_color)'}
- style={{padding: 0, margin: 0}}
+ style={{ padding: 0, margin: 0 }}
/>
),
parentOpen: (
@@ -268,7 +268,7 @@ export default connect(
icon={faFolderOpen}
fixedWidth
color={'var(--heading_text_color)'}
- style={{padding: 0, margin: 0}}
+ style={{ padding: 0, margin: 0 }}
/>
),
leaf: (
@@ -276,18 +276,18 @@ export default connect(
icon={faFile}
fixedWidth
color={'var(--text_color)'}
- style={{padding: 0, margin: 0}}
+ style={{ padding: 0, margin: 0 }}
/>
),
}}
nodes={this.state.nodes}
- onClick={(clicked) => this.setState({clicked})}
- onCheck={(checked) => this.setState({checked})}
- onExpand={(expanded) => this.setState({expanded})}
+ onClick={(clicked) => this.setState({ clicked })}
+ onCheck={(checked) => this.setState({ checked })}
+ onExpand={(expanded) => this.setState({ expanded })}
/>
)}
-