Skip to content

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

disabling moving of a folder from the properties section

Ilian Sapundshiev1879408053ca
diff --git a/app/components/EntryProperties.js b/app/components/EntryProperties.js
index 5bae2c857..e04496dc9 100644
--- a/app/components/EntryProperties.js
+++ b/app/components/EntryProperties.js
@@ -777,7 +777,7 @@ class EntryProperties extends Component<Props, State> {
<Typography variant="caption" className={classNames(classes.entryLabel, classes.header)} style={{ display: 'block' }}>
{i18n.t('core:filePath')}
</Typography>
- {!isReadOnlyMode && (
+ {isFile && !isReadOnlyMode && (
<Button
color="primary"
// style={{ paddingBottom: 0 }}