mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	Compare commits
	
		
			2 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					a44f43b133 | ||
| 
						 | 
					69677b15fe | 
							
								
								
									
										2
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							@@ -1,6 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
  "name": "trilium",
 | 
			
		||||
  "version": "0.30.6",
 | 
			
		||||
  "version": "0.30.7",
 | 
			
		||||
  "lockfileVersion": 1,
 | 
			
		||||
  "requires": true,
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
 
 | 
			
		||||
@@ -2,7 +2,7 @@
 | 
			
		||||
  "name": "trilium",
 | 
			
		||||
  "productName": "Trilium Notes",
 | 
			
		||||
  "description": "Trilium Notes",
 | 
			
		||||
  "version": "0.30.7",
 | 
			
		||||
  "version": "0.30.8",
 | 
			
		||||
  "license": "AGPL-3.0-only",
 | 
			
		||||
  "main": "electron.js",
 | 
			
		||||
  "bin": {
 | 
			
		||||
 
 | 
			
		||||
@@ -34,6 +34,9 @@ async function show() {
 | 
			
		||||
    else {
 | 
			
		||||
        $previewRow.hide();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    // open doesn't work for protected notes since it works through browser which isn't in protected session
 | 
			
		||||
    $openButton.toggle(!currentNote.isProtected);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
$downloadButton.click(() => utils.download(getFileUrl()));
 | 
			
		||||
@@ -51,7 +54,7 @@ $openButton.click(() => {
 | 
			
		||||
 | 
			
		||||
function getFileUrl() {
 | 
			
		||||
    // electron needs absolute URL so we extract current host, port, protocol
 | 
			
		||||
    return utils.getHost() + "/api/notes/" + noteDetailService.getCurrentNoteId();
 | 
			
		||||
    return utils.getHost() + "/api/notes/" + noteDetailService.getCurrentNoteId() + "/download";
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export default {
 | 
			
		||||
 
 | 
			
		||||
@@ -1 +1 @@
 | 
			
		||||
module.exports = { buildDate:"2019-03-30T20:13:53+01:00", buildRevision: "c240fb98967d11ea3925c2c39b44138bb8e46f58" };
 | 
			
		||||
module.exports = { buildDate:"2019-04-22T15:02:39+02:00", buildRevision: "69677b15feb8852ff962116d8a2b9dfb78ad4f63" };
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user