Skip to content

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

fix: general topic is editable

thecodrr182f22e3b476
diff --git a/apps/web/src/components/dialogs/add-notebook-dialog.js b/apps/web/src/components/dialogs/add-notebook-dialog.js
index 50ff92cee..cd183a9ba 100644
--- a/apps/web/src/components/dialogs/add-notebook-dialog.js
+++ b/apps/web/src/components/dialogs/add-notebook-dialog.js
@@ -42,6 +42,7 @@ class AddNotebookDialog extends React.Component {
}
editTopic(index) {
+ if (index === 0) return;
this._topicInputRef.value = this.state.topics[index].title;
this._topicInputRef.focus();
this.setState({ isEditting: true, editIndex: index });