missing value

This commit is contained in:
Gamosoft 2025-12-15 12:44:59 +01:00
parent 83e9ebbd3d
commit 8affa74ab9
1 changed files with 1 additions and 1 deletions

View File

@ -2671,7 +2671,7 @@ function noteApp() {
// Rename a folder
async renameFolder(folderPath, currentName) {
const newName = prompt(`Rename folder "${currentName}" to:`, currentName);
const newName = prompt(this.t('folders.prompt_rename', { name: currentName }), currentName);
if (!newName || newName === currentName) return;
const sanitizedName = newName.trim().replace(/[^a-zA-Z0-9-_\s]/g, '');