Skip to content

badges 显示异常 #517

@zhouxinyong

Description

@zhouxinyong

Describe the bug

badges 未被正确显示

Your Example Website or App

https://codesandbox.io/s/objective-tu-n9yvdd?file=/App.tsx

Steps to Reproduce the Bug or Issue

  1. 点击legend, inactive的节点的badge还是会显示
  2. 点击某一个节点,非关联的节点的badge还是会显示

Expected behavior

  1. 点击legend, inactive的节点的badge应该不显示或者非高亮显示
  2. 点击某一个节点,非关联的节点的badge应该不显示或者非高亮显示

Screenshots or Videos

No response

Platform

  • OS: macOS
  • Browser: Chrome
  • Version: LTS

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions