forked from FoundKeyGang/FoundKey
more syntax fixes
This commit is contained in:
parent
091bf0f77b
commit
21b78274aa
1 changed files with 2 additions and 2 deletions
|
@ -66,12 +66,12 @@ async function rename(file: DriveFile): Promise<void> {
|
|||
const { canceled, result } = await os.inputText({
|
||||
title: i18n.ts.enterFileName,
|
||||
default: file.name,
|
||||
allowEmpty: false,,
|
||||
allowEmpty: false,
|
||||
});
|
||||
if (canceled) return;
|
||||
os.api('drive/files/update', {
|
||||
fileId: file.id,
|
||||
name: result,,
|
||||
name: result,
|
||||
}).then(() => {
|
||||
emit('changeName', file, result);
|
||||
file.name = result;
|
||||
|
|
Loading…
Reference in a new issue