This commit is contained in:
syuilo 2018-02-22 00:18:19 +09:00
parent 5252be0998
commit 2563e769a6
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);
},