Advice needed: traveling across country with TWO dogs!

Oops, are we bad for leaving the dogs in the car when we eat in a restaurant? They don’t seem to mind. They don’t bark in the car.