Alter IconButton component as NButton to support disable property

This commit is contained in:
tiny-craft
2023-07-02 12:33:41 +08:00
parent 19c8e153c3
commit 8e3adbf0c3
7 changed files with 50 additions and 24 deletions

View File

@@ -85,6 +85,7 @@ func (c *ConnectionsStorage) GetConnection(name string) *types.Connection {
for _, group := range conns {
for _, conn := range group.Connections {
if conn.Name == name {
conn.Group = group.GroupName
return &conn
}
}