Do you plan outings around your baby's bedtime/naps?

I'm FTm and I'm struggling in this aspect. I have an almost 7 month old who's bedtime is 7pm sometiems a little earlier if she didnt nap well. Prior to having my daughter my husband an I would always have dinner outings with every weekend with our friends at 7pm and they still always invite us and even get upset when we decline my friend always tells me to bring my daughter that she has fo get used to going out to restaurants, but my daughter is a nightmare around bedtime. I've even asked if they can do it earlier like 5pm but they usually say they aren't hungry that early

How do you all handle outings on the weekends with babies? do you just not go out? please share ideas.