After initially loading the page, mat-header-cell displays fine. However, upon navigating to a second page, refreshing it in the browser, and then returning to the original page, the mat-header-cell is no longer visible. It only reappears after manually refreshing the page in the browser. I have spent considerable time trying to troubleshoot this issue without success. Below is the code snippet attached for reference. If anyone has insights into what might be causing this issue, please do let me know. It's worth noting that this problem occurs in production but not in development. Thank you.
// Code snippet goes here
// Another code snippet goes here
This issue seems to be specific to development as it manifests when the page first loads, but does not occur in production. The error message encountered in production reads as follows:
// Error message displayed here
meta-model-registry.ts
// TypeScript code snippet regarding meta model registry