Mel B 'Upbeat And All Smiles' With Her America's Got Talent Costars Amid Contentious Divorce

Steve Granitz

The former Spice Girl is in the middle of a divorce with her estranged husband Stephen Belafonte. 

Karen Mizoguchi Apr, 25, 2017

This article originally appeared on People

Mel B was back to work on America’s Got Talent Monday, following news that her estranged husband Stephen Belafonte was granted supervised visitation with the couple’s only biological daughter, Madison.

“Mel was back on set today. She was upbeat and all smiles,” a source tells PEOPLE.

Fellow AGT judge Heidi Klum shared brief clips of her day with the 41-year-old former Spice Girl and costars Tyra Banks, Simon Cowell and Howie Mandel on Instagram and Twitter.

“With my girls @officialmelb @tyrabanks,” Klum, 43, captioned her Boomerang of the ladies backstage.

With my girls @officialmelb @tyrabanks

A post shared by Heidi Klum (@heidiklum) on

A Los Angeles judge ruled on Monday that Mel B’s restraining order against Belafonte — who appeared in court for the ruling — will remain in place following her allegations that he beat, threatened and exploited her during their marriage.

Hurry up and wait 😜 @officialmelb @howiemandel @simoncowell @nbcagt

A post shared by Heidi Klum (@heidiklum) on

However, Belafonte – who filed for joint custody of Madison – was granted two, four-hour sessions with the 5-year-old per week at the Ness Counseling Center in L.A.

Subscribe to our daily newsletter for the latest in hair, beauty, style and celebrity news.

In late March, the mother of three filed for divorce from Belafonte after nearly 10 years of marriage.

“We all go through tough times and we need people around us who care and matter and are there and are strong for us—and we’re all there for [Mel],” Mandel told PEOPLE a week after news of the divorce filing.

Klum also shared with PEOPLE that being back on AGT has been beneficial to her costar.

“I think it definitely helped [Mel] that we were working so much. Because sometimes it’s good when you have to work because it keeps things off your mind,” she said.