mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	don't save backups with colons in filenames, doesn't work on windows
This commit is contained in:
		@@ -1 +1 @@
 | 
			
		||||
module.exports = { build_date:"2017-11-17T00:09:29-05:00", build_revision: "a6bf04f8d4dc92445e6b4decd7dbbaa2f3e3ebaa" };
 | 
			
		||||
module.exports = { build_date:"2017-11-20T08:43:54-05:00", build_revision: "2f2969b2a1fa080a7555f2dfb7ec8b933f0421fe" };
 | 
			
		||||
 
 | 
			
		||||
@@ -188,7 +188,7 @@ async function updateNote(noteId, newNote, ctx) {
 | 
			
		||||
        await sql.remove("links", noteId);
 | 
			
		||||
 | 
			
		||||
        for (const link in newNote.links) {
 | 
			
		||||
            await sql.insert("links", link);
 | 
			
		||||
            //await sql.insert("links", link);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        await sync_table.addNoteTreeSync(noteId);
 | 
			
		||||
 
 | 
			
		||||
@@ -19,7 +19,7 @@ async function updateNote(entity, links, sourceId) {
 | 
			
		||||
            for (const link of links) {
 | 
			
		||||
                delete link['lnk_id'];
 | 
			
		||||
 | 
			
		||||
                await sql.insert('link', link);
 | 
			
		||||
                //await sql.insert('link', link);
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            await sync_table.addNoteSync(entity.note_id, sourceId);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user