mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-13 01:57:08 +01:00
Fix: table view doesnt immediately display custom fields on app startup (#6600)
This commit is contained in:
parent
fae2399e46
commit
8ea3259fe7
4 changed files with 26 additions and 4 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue