Dating and Depression

Lately I have been questioning my relationship although when I'm with my bf I feel happy and he was able to calm me down after having a panic attack. I just wonder if my depression and low self esteem is making me question my relationship with him. He is great and makes me happy but I feel as though I'm just not happy.