Skip to content

Commit e43a2ab

Browse files
committed
fix(files): use window._nc_navigation in legacy file
`OCP.Files.Navigation` is undefined. Signed-off-by: Max <[email protected]>
1 parent b570d76 commit e43a2ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/files/js/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146

147147
window._nc_event_bus.emit('files:legacy-view:initialized', this);
148148

149-
this.navigation = OCP.Files.Navigation
149+
this.navigation = window._nc_navigation
150150
},
151151

152152
/**

0 commit comments

Comments
 (0)