mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 15:09:01 +01:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
74d0626dc9
@ -41,6 +41,11 @@ export default class MainTreeExecutors extends Component {
|
|||||||
|
|
||||||
async createNoteAfterCommand() {
|
async createNoteAfterCommand() {
|
||||||
const node = this.tree.getActiveNode();
|
const node = this.tree.getActiveNode();
|
||||||
|
|
||||||
|
if (!node) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const parentNotePath = treeService.getNotePath(node.getParent());
|
const parentNotePath = treeService.getNotePath(node.getParent());
|
||||||
const isProtected = await treeService.getParentProtectedStatus(node);
|
const isProtected = await treeService.getParentProtectedStatus(node);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user