It sounds like you handled it perfectly

! and that will probably be the case with most non agressive dogs going forward. The more you can get coming into the home will probably help her when she's outside and worried. She'll hopefully then learn that other dogs do not mean agression.
Sorry, am new, what breed is she? is she a small breed or a big one? I know many big ones who are more intimidated by small dogs

If she's a small breed and was attacked by a big one, maybe getting a big one to come to 'her' house will also be good, if it's non agressive etc...