At the top of the inventory window, you'll see icons representing your party members and the Traveller's Chest. Click on the chest icon to switch the view to the Traveller's Chest inventory.
This issue occurs because the game sometimes defaults to the last opened inventory, which might be a companion's, even when interacting with the chest.