Skip to content

TagSpaces is an offline, open source, document manager with tagging support

save and resore directory order in meta

stanimirca0e0f1eea42
diff --git a/app/components/FolderContainer.tsx b/app/components/FolderContainer.tsx
index 9b85ee239..f29a96ee9 100644
--- a/app/components/FolderContainer.tsx
+++ b/app/components/FolderContainer.tsx
@@ -365,7 +365,19 @@ class FolderContainer extends React.Component<Props, State> {
<KanBanPerspectiveAsync
directoryContent={this.props.directoryContent}
openFile={this.props.openFile}
+ loadParentDirectoryContent={this.props.loadParentDirectoryContent}
+ deleteFile={this.props.deleteFile}
+ renameFile={this.props.renameFile}
+ openDirectory={this.props.openDirectory}
+ showInFileManager={this.props.showInFileManager}
currentDirectoryPath={this.props.currentDirectoryPath}
+ setLastSelectedEntry={this.props.setLastSelectedEntry}
+ perspectiveCommand={this.state.perspectiveCommand}
+ addTags={this.props.addTags}
+ editTagForEntry={this.props.editTagForEntry}
+ deleteDirectory={this.props.deleteDirectory}
+ removeTags={this.props.removeTags}
+ removeAllTags={this.props.removeAllTags}
windowWidth={this.props.windowWidth}
switchPerspective={this.switchPerspective}
/>
diff --git a/app/reducers/app.ts b/app/reducers/app.ts
index bc0abf28a..78a32dcfc 100644
--- a/app/reducers/app.ts
+++ b/app/reducers/app.ts
@@ -22,7 +22,6 @@ import { Location, getLocation, locationType } from './locations';
import PlatformIO from '../services/platform-io';
import AppConfig from '../config';
import {
- enhanceEntry,
deleteFilesPromise,
loadMetaDataPromise,
renameFilesPromise,
@@ -41,7 +40,7 @@ import {
import { formatDateTime4Tag, getURLParameter } from '../utils/misc';
import i18n from '../services/i18n';
import { Pro } from '../pro';
-import { getThumbnailURLPromise } from '../services/thumbsgenerator';
+// import { getThumbnailURLPromise } from '../services/thumbsgenerator';
import { actions as LocationIndexActions } from './location-index';
import { Tag } from './taglibrary';