Skip to content

Commit

Permalink
Also register to urlChanged event to update RichWorkspace
Browse files Browse the repository at this point in the history
Signed-off-by: Malte Wedel <[email protected]>
  • Loading branch information
goligo authored and backportbot[bot] committed Nov 17, 2020
1 parent 8727cdd commit 5543010
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/helpers/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ const FilesWorkspacePlugin = {
},
}).$mount(this.el)

fileList.$el.on('urlChanged', data => {
vm.path = data.dir.toString()
})
fileList.$el.on('changeDirectory', data => {
vm.path = data.dir.toString()
})
Expand Down

0 comments on commit 5543010

Please sign in to comment.