mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-12 00:19:48 +00:00
Fix: table view doesnt immediately display custom fields on app startup (#6600)
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user