fix(share): share link is truncated if users uncheck "include password in the link" previously (cloudreve/cloudreve#2755)

This commit is contained in:
Aaron Liu 2025-08-10 10:10:48 +08:00
parent 80b4b3dd3c
commit 8b2c8a7bdb

View File

@ -96,6 +96,7 @@ const ShareDialog = () => {
setSetting(initialSetting);
}
setShareLink("");
setIncludePassword(true);
}
}, [open]);