During friendship, the friendship comes first
When it’s pure friendship time, just be friends. What I mean by that is, let’s say your friend is having relationship issues. She wants your advice and comfort. You personally know her relationship issues have been getting in the way of her doing good work. This is not the time to say that. This is the time to be a supportive friend. You can bring up how her relationship gets in the way of her work during business hours.