Fix: table view doesnt immediately display custom fields on app startup (#6600)

This commit is contained in:
shamoon 2024-05-07 08:30:34 -07:00 committed by GitHub
parent fae2399e46
commit 8ea3259fe7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 26 additions and 4 deletions

View file

@ -268,6 +268,7 @@ export class SettingsService {
public get allDisplayFields(): Array<{ id: DisplayField; name: string }> {
return this._allDisplayFields
}
public displayFieldsInitialized: boolean = false
constructor(
rendererFactory: RendererFactory2,
@ -361,7 +362,10 @@ export class SettingsService {
}
})
)
this.displayFieldsInitialized = true
})
} else {
this.displayFieldsInitialized = true
}
}