[DURACOM-350] fix cache issue after mydspace action

This commit is contained in:
FrancescoMolinaro
2025-04-23 15:07:00 +02:00
parent b076738b53
commit e84af6ab91
3 changed files with 10 additions and 2 deletions

View File

@@ -105,6 +105,8 @@ export abstract class MyDSpaceReloadableActionsComponent<T extends DSpaceObject,
if (result) {
if (reloadedObject) {
this.processCompleted.emit({ result, reloadedObject });
// Ensure that next time the page is requested the objects have the correct render type.
this.invalidateCacheForCurrentSearchUrl();
} else {
this.reload();
}