Merge pull request #2243 from dpalou/MOBILE-3239
MOBILE-3239 block: Don't fetch data in invalidate for site plugin blocksmain
commit
ab898ef1bd
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue