[Client:Mobile] ルートにフォルダを移動できない問題を修正

This commit is contained in:
syuilo⭐️ 2017-03-16 15:42:50 +09:00
parent 5aa21a7a5a
commit e583ffb771
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@
const dialog = riot.mount(document.body.appendChild(document.createElement('mk-drive-folder-selector')))[0];
dialog.one('selected', folder => {
this.api('drive/folders/update', {
parent_id: folder.id,
parent_id: folder ? folder.id : null,
folder_id: this.folder.id
}).then(folder => {
this.cd(folder);