Skip to content

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

added folder properties to the toolbar

Ilian Sapundshiev78b9548b26ef
diff --git a/app/components/EntryContainer.js b/app/components/EntryContainer.js
index 18f8005a2..492e6a728 100644
--- a/app/components/EntryContainer.js
+++ b/app/components/EntryContainer.js
@@ -702,6 +702,16 @@ class EntryContainer extends React.Component<Props, State> {
renderFolderToolbar = () => (
<div className={this.props.classes.toolbar2}>
<div className={this.props.classes.flexLeft}>
+ <IconButton
+ title={i18n.t('core:toggleProperties')}
+ aria-label={i18n.t('core:toggleProperties')}
+ onClick={this.togglePanel}
+ data-tid="fileContainerToggleProperties"
+ >
+ <DetailsIcon
+ color={this.state.isPropertiesPanelVisible ? 'primary' : 'action'}
+ />
+ </IconButton>
{!PlatformIO.haveObjectStoreSupport() && (
<IconButton
title={i18n.t('core:openDirectoryExternally')}