mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-30 02:59:03 +01:00 
			
		
		
		
	chore(book_properties): add config for all note types
This commit is contained in:
		
							parent
							
								
									e25727441d
								
							
						
					
					
						commit
						c9c07f0cb0
					
				| @ -30,19 +30,8 @@ interface BookContext { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| export const bookPropertiesConfig: Record<ViewTypeOptions, BookConfig> = { | export const bookPropertiesConfig: Record<ViewTypeOptions, BookConfig> = { | ||||||
|     calendar: { |     grid: { | ||||||
|         properties: [ |         properties: [] | ||||||
|             { |  | ||||||
|                 label: t("book_properties_config.hide-weekends"), |  | ||||||
|                 type: "checkbox", |  | ||||||
|                 bindToLabel: "calendar:hideWeekends" |  | ||||||
|             }, |  | ||||||
|             { |  | ||||||
|                 label: t("book_properties_config.display-week-numbers"), |  | ||||||
|                 type: "checkbox", |  | ||||||
|                 bindToLabel: "calendar:weekNumbers" |  | ||||||
|             } |  | ||||||
|         ] |  | ||||||
|     }, |     }, | ||||||
|     list: { |     list: { | ||||||
|         properties: [ |         properties: [ | ||||||
| @ -77,5 +66,25 @@ export const bookPropertiesConfig: Record<ViewTypeOptions, BookConfig> = { | |||||||
|                 }, |                 }, | ||||||
|             } |             } | ||||||
|         ] |         ] | ||||||
|  |     }, | ||||||
|  |     calendar: { | ||||||
|  |         properties: [ | ||||||
|  |             { | ||||||
|  |                 label: t("book_properties_config.hide-weekends"), | ||||||
|  |                 type: "checkbox", | ||||||
|  |                 bindToLabel: "calendar:hideWeekends" | ||||||
|  |             }, | ||||||
|  |             { | ||||||
|  |                 label: t("book_properties_config.display-week-numbers"), | ||||||
|  |                 type: "checkbox", | ||||||
|  |                 bindToLabel: "calendar:weekNumbers" | ||||||
|  |             } | ||||||
|  |         ] | ||||||
|  |     }, | ||||||
|  |     geoMap: { | ||||||
|  |         properties: [] | ||||||
|  |     }, | ||||||
|  |     table: { | ||||||
|  |         properties: [] | ||||||
|     } |     } | ||||||
| }; | }; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran