Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: prefill title when editing a topic

thecodrr1d64eef120b0
diff --git a/apps/web/src/common/dialogcontroller.js b/apps/web/src/common/dialogcontroller.js
index fd047e569..66aa9f783 100644
--- a/apps/web/src/common/dialogcontroller.js
+++ b/apps/web/src/common/dialogcontroller.js
@@ -433,6 +433,7 @@ export function showEditTopicDialog(notebookId, topicId) {
<Dialogs.ItemDialog
title={"Edit topic"}
subtitle={`You are editing "${topic.title}" topic.`}
+ defaultValue={topic.title}
icon={Icon.Topic}
item={topic}
onClose={() => perform(false)}