diff --git a/src/web/app/desktop/views/components/drive-folder.vue b/src/web/app/desktop/views/components/drive-folder.vue index bfb1345016..efb9df30f8 100644 --- a/src/web/app/desktop/views/components/drive-folder.vue +++ b/src/web/app/desktop/views/components/drive-folder.vue @@ -196,7 +196,7 @@ export default Vue.extend({ }, newWindow() { - this.browser.newWindow(this.folder.id); + this.browser.newWindow(this.folder); }, rename() { diff --git a/src/web/app/desktop/views/components/drive.vue b/src/web/app/desktop/views/components/drive.vue index aed31f2a8c..e256bc6af2 100644 --- a/src/web/app/desktop/views/components/drive.vue +++ b/src/web/app/desktop/views/components/drive.vue @@ -375,10 +375,10 @@ export default Vue.extend({ } }, - newWindow(folderId) { + newWindow(folder) { document.body.appendChild(new MkDriveWindow({ propsData: { - folder: folderId + folder: folder } }).$mount().$el); },