fix click node do not change inspector in search state

This commit is contained in:
codetypes committed 2025-03-25 00:05:43 +08:00
1 parent 6eb48532a4
commit f6b02d92c6
3 files changed
+17 -19

No files matched your search

+7 -2
View File
@@ -355,8 +355,13 @@ const TreeInspector: FC = () => {
<Divider orientation="left">
<h4>{t("tree.group")}</h4>
</Divider>
<Form.Item name="group" style={{ marginLeft: 16 }}>
<GroupDefItem />
<Form.Item name="group">
<Select
mode="multiple"
suffixIcon={null}
onChange={form.submit}
options={workspace.groupDefs.map((g) => ({ label: g, value: g }))}
/>
</Form.Item>
</>
)}