From 3e201c21e7863a93b88d2088b19d0f23c627b58e Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 22 Feb 2018 00:18:19 +0900 Subject: [PATCH] wip --- src/web/app/desktop/views/components/drive-folder.vue | 2 +- src/web/app/desktop/views/components/drive.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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); },