Skip to content

Commit

Permalink
fix(files): use window._nc_navigation in legacy file
Browse files Browse the repository at this point in the history
`OCP.Files.Navigation` is undefined.

Signed-off-by: Max <max@nextcloud.com>
  • Loading branch information
max-nextcloud committed Aug 27, 2023
1 parent b570d76 commit e43a2ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@

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

this.navigation = OCP.Files.Navigation
this.navigation = window._nc_navigation
},

/**
Expand Down

0 comments on commit e43a2ab

Please sign in to comment.