mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
ACS-7461 Remove ADF_DOCUMENT_PARENT_COMPONENT token (#11372)
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user