forked from FoundKeyGang/FoundKey
[Client:Mobile] ルートにフォルダを移動できない問題を修正
This commit is contained in:
parent
5aa21a7a5a
commit
e583ffb771
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue