Skip to content

Commit

Permalink
Сделал отображение подзаметок в пошереной заметке
Browse files Browse the repository at this point in the history
  • Loading branch information
YarikMix committed May 26, 2024
1 parent 6b60247 commit 0174f1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion public/src/components/Editor/Plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,6 @@ const RenderSubNote = (subNoteId:string) => {
}
}


deleteSubNoteBtnContainer.appendChild(deleteSubNoteBtn)
subNoteContainer.appendChild(deleteSubNoteBtnContainer)
}
Expand Down
5 changes: 4 additions & 1 deletion public/src/modules/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,10 @@ export class Router extends ScReact.Component<any, routerState> {
}

public openSharedNotePage (note:NoteType) {
// history.pushState(null, null, "/notes/" + note.id);
console.log("openSharedNotePage")
console.log(note)

history.pushState(null, null, "/notes/" + note.id);

this.setState(s => ({
...s,
Expand Down

0 comments on commit 0174f1d

Please sign in to comment.