refactor: post-form-attaches to composition api #60

Merged
Johann150 merged 5 commits from :refactor/post-form-attaches.vue into main 2022-08-11 09:17:17 +00:00
2 changed files with 0 additions and 2 deletions
Showing only changes of commit 534666f762 - Show all commits

View file

@ -66,7 +66,6 @@ async function rename(file: DriveFile): Promise<void> {
const { canceled, result } = await os.inputText({
title: i18n.ts.enterFileName,
default: file.name,
allowEmpty: false,
});
if (canceled) return;
os.api('drive/files/update', {

View file

@ -239,7 +239,6 @@ export function inputText(props: {
text?: string | null;
placeholder?: string | null;
default?: string | null;
allowEmpty?: boolean;
}): Promise<{ canceled: true; result: undefined; } | {
canceled: false; result: string;
}> {