mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-28 13:31:32 +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"
|
||||
className="toolbar-item"
|
||||
icon={<MinusOutlined />}
|
||||
onClick={onRemoveGroup}
|
||||
onClick={(e) => {
|
||||
e.stopPropagation()
|
||||
onRemoveGroup()
|
||||
}}
|
||||
disabled={disabled}
|
||||
/>
|
||||
</Tooltip>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user