MOBILE-3239 block: Don't fetch data in invalidate for site plugin blocks

main
Dani Palou 2020-01-14 12:59:16 +01:00
parent ad85ded49f
commit 00544125e4
1 changed files with 4 additions and 2 deletions

View File

@ -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> { protected invalidateContent(): Promise<any> {
return Promise.resolve(this.content.refreshContent()); return this.sitePluginsProvider.invalidateContent(this.component, this.method, this.args);
} }
} }