mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	add hideTabRowForOneTab if missing, fixes #660
This commit is contained in:
		| @@ -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 = { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user