mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-26 19:38:48 +01:00
This commit is contained in:
parent
ebb813d50d
commit
6d6afeee93
1 changed files with 0 additions and 3 deletions
|
|
@ -108,9 +108,6 @@ export const renameAsset = (assetPath: string) => {
|
|||
dialog.destroy();
|
||||
});
|
||||
btnsElement[1].addEventListener("click", () => {
|
||||
if (!validateName(inputElement.value)) {
|
||||
return false;
|
||||
}
|
||||
if (inputElement.value === oldName || !inputElement.value) {
|
||||
dialog.destroy();
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue