mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 07:01:31 +08:00 
			
		
		
		
	add hideTabRowForOneTab if missing, fixes #660
This commit is contained in:
		
							parent
							
								
									21588829c7
								
							
						
					
					
						commit
						157bd3816d
					
				@ -0,0 +1,3 @@
 | 
			
		||||
INSERT INTO options (name, value, utcDateCreated, utcDateModified, isSynced)
 | 
			
		||||
SELECT 'hideTabRowForOneTab', 'false', '2019-05-01T18:31:00.874Z', '2019-05-01T18:31:00.874Z', 0
 | 
			
		||||
WHERE NOT EXISTS(SELECT 1 FROM options WHERE name = 'hideTabRowForOneTab');
 | 
			
		||||
@ -4,7 +4,7 @@ const build = require('./build');
 | 
			
		||||
const packageJson = require('../../package');
 | 
			
		||||
const {TRILIUM_DATA_DIR} = require('./data_dir');
 | 
			
		||||
 | 
			
		||||
const APP_DB_VERSION = 146;
 | 
			
		||||
const APP_DB_VERSION = 147;
 | 
			
		||||
const SYNC_VERSION = 10;
 | 
			
		||||
const CLIPPER_PROTOCOL_VERSION = "1.0";
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -82,6 +82,8 @@ async function initNotSyncedOptions(initialized, startNotePath = 'root', opts =
 | 
			
		||||
 | 
			
		||||
    await optionService.createOption('spellCheckEnabled', 'true', false);
 | 
			
		||||
    await optionService.createOption('spellCheckLanguageCode', 'en-US', false);
 | 
			
		||||
 | 
			
		||||
    await optionService.createOption('hideTabRowForOneTab', 'false', false);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
module.exports = {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user