Asthma attack! Please help

So today I had an asthma attack for about an hour or so and I went to the hospital and had special breathing treatment but they didn't check on the baby. Has anybody gone to the hospital for asthma attacks? And was your baby okay? I haven't had any cramps or pain. Just a nervous first time mommy lol