mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 03:29:02 +01:00 
			
		
		
		
	test
This commit is contained in:
		
							parent
							
								
									759ac4a4c8
								
							
						
					
					
						commit
						00f8a43b0f
					
				| @ -183,8 +183,6 @@ async function openDirectory(directory) { | |||||||
|     } |     } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| const opendataDirectory = async (directory) => await openDirectory(directory); |  | ||||||
| 
 |  | ||||||
| export default { | export default { | ||||||
|     download, |     download, | ||||||
|     downloadFileNote, |     downloadFileNote, | ||||||
| @ -195,5 +193,5 @@ export default { | |||||||
|     openAttachmentExternally, |     openAttachmentExternally, | ||||||
|     openNoteCustom, |     openNoteCustom, | ||||||
|     openAttachmentCustom, |     openAttachmentCustom, | ||||||
|     opendataDirectory |     openDirectory | ||||||
| } | } | ||||||
|  | |||||||
| @ -76,13 +76,12 @@ export default class AboutDialog extends BasicWidget { | |||||||
|         this.$buildRevision.attr('href', `https://github.com/TriliumNext/Notes/commit/${appInfo.buildRevision}`); |         this.$buildRevision.attr('href', `https://github.com/TriliumNext/Notes/commit/${appInfo.buildRevision}`); | ||||||
|         if (utils.isElectron()) { |         if (utils.isElectron()) { | ||||||
|             this.$dataDirectory.html($('<a></a>', { |             this.$dataDirectory.html($('<a></a>', { | ||||||
|                 href: 'file:///' + appInfo.dataDirectory, |                 href: '#', | ||||||
|                 text: appInfo.dataDirectory, |                 text: appInfo.dataDirectory, | ||||||
|                 target: '_blank' |  | ||||||
|             })); |             })); | ||||||
|             this.$dataDirectory.find("a").on('click', (event) => { |             this.$dataDirectory.find("a").on('click', (event) => { | ||||||
|                 event.preventDefault(); |                 event.preventDefault(); | ||||||
|                 openService.opendataDirectory(appInfo.dataDirectory); |                 openService.openDirectory(appInfo.dataDirectory); | ||||||
|             }) |             }) | ||||||
|         } else { |         } else { | ||||||
|             this.$dataDirectory.text(appInfo.dataDirectory); |             this.$dataDirectory.text(appInfo.dataDirectory); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 SiriusXT
						SiriusXT