docs: remove comments duplicating code

This commit is contained in:
Jakob Schlanstedt 2025-10-22 16:39:14 +02:00
parent 656e7c069d
commit 6ad2b49ab3

View File

@ -500,7 +500,6 @@ function initNoteAutocomplete($el: JQuery<HTMLElement>, options?: Options) {
break; break;
} }
// --- CREATE AND LINK NOTE INTO INBOX ---
case SuggestionAction.CreateAndLinkNoteIntoInbox: { case SuggestionAction.CreateAndLinkNoteIntoInbox: {
const { note } = await noteCreateService.createNote( const { note } = await noteCreateService.createNote(
{ {
@ -521,7 +520,6 @@ function initNoteAutocomplete($el: JQuery<HTMLElement>, options?: Options) {
break; break;
} }
// --- CREATE NOTE INTO PATH ---
case SuggestionAction.CreateNoteIntoPath: { case SuggestionAction.CreateNoteIntoPath: {
const { note } = await noteCreateService.createNote( const { note } = await noteCreateService.createNote(
{ {
@ -543,7 +541,6 @@ function initNoteAutocomplete($el: JQuery<HTMLElement>, options?: Options) {
break; break;
} }
// --- CREATE AND LINK NOTE INTO PATH ---
case SuggestionAction.CreateAndLinkNoteIntoPath: { case SuggestionAction.CreateAndLinkNoteIntoPath: {
const { note } = await noteCreateService.createNote( const { note } = await noteCreateService.createNote(
{ {