mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-03 11:19:10 +08:00
fix(ModelList): stop propagation (#8685)
This commit is contained in:
parent
236a6bdcb0
commit
80409cd94e
@ -72,7 +72,10 @@ const ModelListGroup: React.FC<ModelListGroupProps> = ({
|
|||||||
type="text"
|
type="text"
|
||||||
className="toolbar-item"
|
className="toolbar-item"
|
||||||
icon={<MinusOutlined />}
|
icon={<MinusOutlined />}
|
||||||
onClick={onRemoveGroup}
|
onClick={(e) => {
|
||||||
|
e.stopPropagation()
|
||||||
|
onRemoveGroup()
|
||||||
|
}}
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
/>
|
/>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user