diff options
Diffstat (limited to 'apps/files/src/legacy/navigationMapper.js')
-rw-r--r-- | apps/files/src/legacy/navigationMapper.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/files/src/legacy/navigationMapper.js b/apps/files/src/legacy/navigationMapper.js index a78faf0af52..764a7cb6cd9 100644 --- a/apps/files/src/legacy/navigationMapper.js +++ b/apps/files/src/legacy/navigationMapper.js @@ -40,15 +40,16 @@ export default function() { } } -const registerLegacyView = function({ id, name, order, icon, parent, classes = '', expanded }) { +const registerLegacyView = function({ id, name, order, icon, parent, classes = '', expanded, params }) { OCP.Files.Navigation.register({ id, name, - iconClass: icon ? `icon-${icon}` : 'nav-icon-' + id, order, + params, parent, + expanded: expanded === true, + iconClass: icon ? `icon-${icon}` : 'nav-icon-' + id, legacy: true, sticky: classes.includes('pinned'), - expanded: expanded === true, }) } |