mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 05:53:03 +00:00
[DURACOM-350] fix cache issue after mydspace action
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user