diff --git a/packages/client/src/components/post-form-attaches.vue b/packages/client/src/components/post-form-attaches.vue index af408ae07..bf03e05b0 100644 --- a/packages/client/src/components/post-form-attaches.vue +++ b/packages/client/src/components/post-form-attaches.vue @@ -66,7 +66,6 @@ async function rename(file: DriveFile): Promise { const { canceled, result } = await os.inputText({ title: i18n.ts.enterFileName, default: file.name, - allowEmpty: false, }); if (canceled) return; os.api('drive/files/update', { diff --git a/packages/client/src/os.ts b/packages/client/src/os.ts index a10ae1c15..51df43de0 100644 --- a/packages/client/src/os.ts +++ b/packages/client/src/os.ts @@ -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; }> {