I think that you did the right thing. Sounds like you were her friend, what she most needed. Im sorry.
I told her that I thought it was wrong but that I loved her anyway because she's my niece. In the end this is what mattered.