A modified diagram of the LM coolant loops:

[![enter image description here][1]][1]

The secondary coolant loop contains only cold plates for the electronics but no cabin heat exchanger. In the second loop heat is transfered from the cold plates only to the sublimators but not to the cabin. See the red arrows.

In the primary loop some cold plates are placed before the cabin heat exchanger and some after it. See the orange arrows. So only a part of the heat could be transfered from the cold plates to the cabin.

But both the primary and the second loops go to the same cold plates. So there is some heat exchange between both loops. If the coolant in the primary loop is warmer than that in the secondary loop, some heat flows to the secondary loop and is lost for cabin heat.

  [1]: https://i.sstatic.net/AEuoC.png