mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-28 03:40:25 +01:00
chore: inputText側にminLengthを追加
This commit is contained in:
parent
9af7fc6f47
commit
805a5a80ea
1 changed files with 1 additions and 0 deletions
|
@ -326,6 +326,7 @@ function createFolder() {
|
||||||
title: i18n.ts.createFolder,
|
title: i18n.ts.createFolder,
|
||||||
placeholder: i18n.ts.folderName,
|
placeholder: i18n.ts.folderName,
|
||||||
default: 'Untitled',
|
default: 'Untitled',
|
||||||
|
minLength: 1,
|
||||||
}).then(({ canceled, result: name }) => {
|
}).then(({ canceled, result: name }) => {
|
||||||
if (canceled) return;
|
if (canceled) return;
|
||||||
misskeyApi('drive/folders/create', {
|
misskeyApi('drive/folders/create', {
|
||||||
|
|
Loading…
Reference in a new issue