ACS-7461 Remove ADF_DOCUMENT_PARENT_COMPONENT token (#11372)

This commit is contained in:
Denys Vuika
2025-12-15 13:42:21 +00:00
committed by GitHub
parent 8da24884ec
commit 062b8060bc
7 changed files with 98 additions and 94 deletions
@@ -93,7 +93,8 @@ export class DataTableCellComponent implements OnInit {
constructor() {
// Listen to locale changes and re-compute the title with the latest value
effect(() => {
this.userPreferencesService.localeSignal();
// Read the signal value to track changes
this.userPreferencesService.localeSignal?.();
// When locale changes, re-compute title using the stored latest value
this.recomputeTitle();
});