This repository was archived by the owner on Jul 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
parsers/handlers/marshall Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ export interface ConfigColumn {
5050 task_hide_completed ?: boolean ;
5151 // Formulas
5252 formula_query ?: string ;
53- persist_formula ? : boolean ;
53+ persist_formula : boolean ;
5454 // Relations
5555 related_note_path ?: string ;
5656 // Rollups
Original file line number Diff line number Diff line change @@ -121,6 +121,7 @@ export const DEFAULT_COLUMN_CONFIG: ConfigColumn = Object.freeze({
121121 isInline : false ,
122122 task_hide_completed : true ,
123123 footer_type : FooterType . NONE ,
124+ persist_formula : false ,
124125} ) ;
125126
126127export const MetadataDatabaseColumns : MetadataColumnsModel = Object . freeze ( {
Original file line number Diff line number Diff line change @@ -55,8 +55,12 @@ export class MarshallColumnsHandler extends AbstractYamlHandler {
5555 column . config = DEFAULT_COLUMN_CONFIG ;
5656 } else {
5757 // General config
58- const parsedIsInline : boolean = this . parseBoolean ( column . config . isInline ) ;
59- column . config . isInline = parsedIsInline ;
58+ column . config = {
59+ ...DEFAULT_COLUMN_CONFIG ,
60+ ...column . config
61+ }
62+
63+ column . config . isInline = this . parseBoolean ( column . config . isInline ) ;
6064 column = this . marshallParticularConfigInfo ( column ) ;
6165 }
6266 // Update mashaller response
You can’t perform that action at this time.
0 commit comments