Skip to content

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

add drop placeholder

sytolka14d3c3dbc7c
diff --git a/app/perspectives/common/main-container.tsx b/app/perspectives/common/main-container.tsx
index ab7de7154..b63a04ee8 100644
--- a/app/perspectives/common/main-container.tsx
+++ b/app/perspectives/common/main-container.tsx
@@ -7,6 +7,7 @@ import { locationType } from '@tagspaces/tagspaces-common/misc';
import PlatformIO from '-/services/platform-facade';
import AppConfig from '-/AppConfig';
import i18n from '-/services/i18n';
+import TagDropContainer from '-/components/TagDropContainer';
export const fileOperationsEnabled = selectedEntries => {
let selectionContainsDirectories = false;
@@ -306,3 +307,17 @@ export const renderCell = (
</div>
);
};
+
+export const renderCellPlaceholder = () => {
+ return (
+ <div
+ style={{
+ position: 'relative'
+ }}
+ >
+ <TagDropContainer entryPath="">
+ <div></div>
+ </TagDropContainer>
+ </div>
+ );
+};