mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2026-05-28 10:18:37 +00:00
feat: Implement the legend selector in metrics charts (#447)
This commit is contained in:
@@ -35,7 +35,7 @@ export default function useLegendProcess(legend?: LegendOptions) {
|
||||
if (keys.length === 1) {
|
||||
return false;
|
||||
}
|
||||
if (legend && legend.asTable) {
|
||||
if (legend && (legend.asTable || legend.asSelector)) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user