mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	move share root to hidden subtree
This commit is contained in:
		@@ -206,13 +206,15 @@ function getShareRoot() {
 | 
			
		||||
    let shareRoot = becca.getNote('share');
 | 
			
		||||
 | 
			
		||||
    if (!shareRoot) {
 | 
			
		||||
        const hiddenRoot = getHiddenRoot();
 | 
			
		||||
 | 
			
		||||
        shareRoot = noteService.createNewNote({
 | 
			
		||||
            branchId: 'share',
 | 
			
		||||
            noteId: 'share',
 | 
			
		||||
            title: 'Shared notes',
 | 
			
		||||
            type: 'text',
 | 
			
		||||
            content: '',
 | 
			
		||||
            parentNoteId: 'root'
 | 
			
		||||
            parentNoteId: hiddenRoot.noteId
 | 
			
		||||
        }).note;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user