Getting dental fillings while breastfeeding

Is it safe to go to the dentist and get fillings while breastfeeding? Thanks!