Merge pull request #2243 from dpalou/MOBILE-3239
MOBILE-3239 block: Don't fetch data in invalidate for site plugin blocks
This commit is contained in:
		
						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> { | ||||
|         return Promise.resolve(this.content.refreshContent()); | ||||
|         return this.sitePluginsProvider.invalidateContent(this.component, this.method, this.args); | ||||
|     } | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user