The history as a prosecutor might be a significant advantage in a general election. The anti-police senitment has waned and she can position herself right at the center w.r.t. rule of law.
After this, our Black mayor ran on a campaign of funding the police and won.
Things are swinging back the other direction now, as seen by people like Rene Gonzalez (who ran on re-funding and utilizing police toward the local homeless problems) beating out the incumbent Jo Ann Hardesty (who refused to work with police in almost any capacity) in 2022, and a few more police re-funding votes passed since then.