Baby cries when I have to do anything

I’m a single mom. And I work from home. Whenever I have to go to the bathroom replace my baby in her crib. She immediately starts to cry. When I have to do number two it takes me a little bit longer so she’s crying for about 5 to 10 minutes. I feel so horrible but I at least need some time to go to the bathroom. Am I wrong for leaving her to cry should I bring a seat into the bathroom with me? I don’t know what to do and I don’t like hearing her cry I’m a first time mom.