mirror of
https://github.com/zadam/trilium.git
synced 2026-05-06 13:26:25 +02:00
fix(text): add link doesn't clear bookmark section when removing the note selection
This commit is contained in:
@@ -59,6 +59,8 @@ export default function AddLinkDialog() {
|
||||
useEffect(() => {
|
||||
if (!suggestion) {
|
||||
resetExternalLink();
|
||||
setBookmarks([]);
|
||||
setSelectedBookmark("");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user