mirror of https://github.com/grafana/grafana.git
				
				
				
			Table Panel: Fix condition for showing footer options (#83801)
* Fix condition for showing footer options * codeincarnate/table-footer-config/ lint --------- Co-authored-by: jev forsberg <jev.forsberg@grafana.com>
This commit is contained in:
		
							parent
							
								
									52de1a9a33
								
							
						
					
					
						commit
						13f037d617
					
				|  | @ -169,9 +169,7 @@ export const plugin = new PanelPlugin<Options, FieldConfig>(TablePanel) | ||||||
|           }, |           }, | ||||||
|         }, |         }, | ||||||
|         defaultValue: '', |         defaultValue: '', | ||||||
|         showIf: (cfg) => |         showIf: (cfg) => cfg.footer?.show && !cfg.footer?.countRows, | ||||||
|           (cfg.footer?.show && !cfg.footer?.countRows) || |  | ||||||
|           (cfg.footer?.reducer?.length === 1 && cfg.footer?.reducer[0] !== ReducerID.count), |  | ||||||
|       }) |       }) | ||||||
|       .addCustomEditor({ |       .addCustomEditor({ | ||||||
|         id: 'footer.enablePagination', |         id: 'footer.enablePagination', | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue