This commit is contained in:
syuilo 2018-02-22 00:18:19 +09:00
parent 0c0f822df7
commit 3e201c21e7
2 changed files with 3 additions and 3 deletions

View File

@ -196,7 +196,7 @@ export default Vue.extend({
},
newWindow() {
this.browser.newWindow(this.folder.id);
this.browser.newWindow(this.folder);
},
rename() {

View File

@ -375,10 +375,10 @@ export default Vue.extend({
}
},
newWindow(folderId) {
newWindow(folder) {
document.body.appendChild(new MkDriveWindow({
propsData: {
folder: folderId
folder: folder
}
}).$mount().$el);
},