diff --git a/frontend/src/assets/icons/eye-slash.svg b/frontend/src/assets/icons/eye-slash.svg new file mode 100644 index 0000000000..33373126c9 --- /dev/null +++ b/frontend/src/assets/icons/eye-slash.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/frontend/src/assets/icons/filter.svg b/frontend/src/assets/icons/filter.svg index d95a21617c..5ed48ca7b7 100644 --- a/frontend/src/assets/icons/filter.svg +++ b/frontend/src/assets/icons/filter.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/frontend/src/assets/icons/group.svg b/frontend/src/assets/icons/group.svg index fac73d4a02..f99da1c8ce 100644 --- a/frontend/src/assets/icons/group.svg +++ b/frontend/src/assets/icons/group.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/frontend/src/assets/icons/sort.svg b/frontend/src/assets/icons/sort.svg index 7f4a8c117f..4f58f1bfd6 100644 --- a/frontend/src/assets/icons/sort.svg +++ b/frontend/src/assets/icons/sort.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/frontend/src/components/cur-dir-path/dir-tool.js b/frontend/src/components/cur-dir-path/dir-tool.js index e22be58bfd..c95677895c 100644 --- a/frontend/src/components/cur-dir-path/dir-tool.js +++ b/frontend/src/components/cur-dir-path/dir-tool.js @@ -8,6 +8,7 @@ import SeahubPopover from '../common/seahub-popover'; import ListTagPopover from '../popover/list-tag-popover'; import ViewModes from '../../components/view-modes'; import { PRIVATE_FILE_TYPE } from '../../constants'; +import MetadataViewToolBar from '../../metadata/metadata-view/components/view-toolbar'; const propTypes = { repoID: PropTypes.string.isRequired, @@ -83,11 +84,20 @@ class DirTool extends React.Component { const { repoID, currentMode, currentPath } = this.props; const propertiesText = TextTranslation.PROPERTIES.value; const isFileExtended = currentPath === '/' + PRIVATE_FILE_TYPE.FILE_EXTENDED_PROPERTIES; + + if (isFileExtended) { + return ( +