MOBILE-3239 block: Don't fetch data in invalidate for site plugin blocks
parent
ad85ded49f
commit
00544125e4
|
@ -63,9 +63,11 @@ export class CoreSitePluginsBlockComponent extends CoreBlockBaseComponent implem
|
|||
}
|
||||
|
||||
/**
|
||||
* Pass on content invalidation by refreshing content in the plugin content component.
|
||||
* Invalidate block data.
|
||||
*
|
||||
* @return Promise resolved when done.
|
||||
*/
|
||||
protected invalidateContent(): Promise<any> {
|
||||
return Promise.resolve(this.content.refreshContent());
|
||||
return this.sitePluginsProvider.invalidateContent(this.component, this.method, this.args);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue