Table: Footer field selection fix (#103303)
This commit is contained in:
@@ -175,7 +175,7 @@ export const plugin = new PanelPlugin<Options, FieldConfig>(TablePanel)
|
||||
},
|
||||
},
|
||||
defaultValue: '',
|
||||
showIf: (cfg) => cfg.footer?.show && !cfg.footer?.countRows,
|
||||
showIf: (cfg) => cfg.footer?.show && !(cfg.footer?.countRows && cfg.footer?.reducer.includes(ReducerID.count)),
|
||||
})
|
||||
.addCustomEditor({
|
||||
id: 'footer.enablePagination',
|
||||
|
||||
@@ -175,7 +175,7 @@ export const plugin = new PanelPlugin<Options, FieldConfig>(TablePanel)
|
||||
},
|
||||
},
|
||||
defaultValue: '',
|
||||
showIf: (cfg) => cfg.footer?.show && !cfg.footer?.countRows,
|
||||
showIf: (cfg) => cfg.footer?.show && !(cfg.footer?.countRows && cfg.footer?.reducer.includes(ReducerID.count)),
|
||||
})
|
||||
.addCustomEditor({
|
||||
id: 'footer.enablePagination',
|
||||
|
||||
Reference in New Issue
Block a user