diff --git a/src/modules/pages/connection/list/list_item/list_item.model.ts b/src/modules/pages/connection/list/list_item/list_item.model.ts index 4107efc..37d2217 100644 --- a/src/modules/pages/connection/list/list_item/list_item.model.ts +++ b/src/modules/pages/connection/list/list_item/list_item.model.ts @@ -74,7 +74,7 @@ export class ListItemModel extends Model<{ return { ...item, connectionName: item.connectionName === oldName ? newName : item.connectionName, - connectionId: oldName, + connectionId: item.connectionName === oldName ? newName : item.connectionName, }; });